Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def chat(x):
|
|
46 |
x = f"{x}"
|
47 |
result = gradio_client.predict(
|
48 |
x,# str representing input in 'User input' Textbox component
|
49 |
-
0.
|
50 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
51 |
0.8, # float, representing input in 'Temperature' Slider component
|
52 |
25, # int, representing input in 'Max New Tokens' Slider component
|
|
|
46 |
x = f"{x}"
|
47 |
result = gradio_client.predict(
|
48 |
x,# str representing input in 'User input' Textbox component
|
49 |
+
0.8, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
50 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
51 |
0.8, # float, representing input in 'Temperature' Slider component
|
52 |
25, # int, representing input in 'Max New Tokens' Slider component
|