Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def mbti(x):
|
|
| 50 |
def chat(x):
|
| 51 |
result = gradio_client.predict(
|
| 52 |
x,# str representing input in 'User input' Textbox component
|
| 53 |
-
0.
|
| 54 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 55 |
0.7, # float, representing input in 'Temperature' Slider component
|
| 56 |
20, # int, representing input in 'Max New Tokens' Slider component
|
|
|
|
| 50 |
def chat(x):
|
| 51 |
result = gradio_client.predict(
|
| 52 |
x,# str representing input in 'User input' Textbox component
|
| 53 |
+
0.9, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 54 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 55 |
0.7, # float, representing input in 'Temperature' Slider component
|
| 56 |
20, # int, representing input in 'Max New Tokens' Slider component
|