Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,9 +54,9 @@ def chat(x):
|
|
| 54 |
x,# str representing input in 'User input' Textbox component
|
| 55 |
0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 56 |
50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 57 |
-
0.
|
| 58 |
-
|
| 59 |
-
1.
|
| 60 |
fn_index=0
|
| 61 |
)
|
| 62 |
result = cut(x, result)
|
|
|
|
| 54 |
x,# str representing input in 'User input' Textbox component
|
| 55 |
0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 56 |
50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 57 |
+
0.7, # float, representing input in 'Temperature' Slider component
|
| 58 |
+
20, # int, representing input in 'Max New Tokens' Slider component
|
| 59 |
+
1.2, # float, representing input in 'repetition_penalty' Slider component
|
| 60 |
fn_index=0
|
| 61 |
)
|
| 62 |
result = cut(x, result)
|