Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def chat(x):
|
|
50 |
50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
51 |
0.6, # float, representing input in 'Temperature' Slider component
|
52 |
25, # int, representing input in 'Max New Tokens' Slider component
|
53 |
-
1.
|
54 |
fn_index=0
|
55 |
)
|
56 |
output = result[len(x)-3:]
|
|
|
50 |
50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
51 |
0.6, # float, representing input in 'Temperature' Slider component
|
52 |
25, # int, representing input in 'Max New Tokens' Slider component
|
53 |
+
1.05, # float, representing input in 'repetition_penalty' Slider component
|
54 |
fn_index=0
|
55 |
)
|
56 |
output = result[len(x)-3:]
|