Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,9 +49,9 @@ def chat(x):
|
|
| 49 |
result = gradio_client.predict(
|
| 50 |
x,
|
| 51 |
# str representing input in 'User input' Textbox component
|
| 52 |
-
0.
|
| 53 |
40, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 54 |
-
0.
|
| 55 |
20, # int, representing input in 'Max New Tokens' Slider component
|
| 56 |
1.08, # float, representing input in 'repetition_penalty' Slider component
|
| 57 |
fn_index=0
|
|
|
|
| 49 |
result = gradio_client.predict(
|
| 50 |
x,
|
| 51 |
# str representing input in 'User input' Textbox component
|
| 52 |
+
0.90, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 53 |
40, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 54 |
+
0.75, # float, representing input in 'Temperature' Slider component
|
| 55 |
20, # int, representing input in 'Max New Tokens' Slider component
|
| 56 |
1.08, # float, representing input in 'repetition_penalty' Slider component
|
| 57 |
fn_index=0
|