Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def mbti(x):
|
|
| 44 |
def chat(x):
|
| 45 |
result = gradio_client.predict(
|
| 46 |
x,# str representing input in 'User input' Textbox component
|
| 47 |
-
0.
|
| 48 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 49 |
0.7, # float, representing input in 'Temperature' Slider component
|
| 50 |
20, # int, representing input in 'Max New Tokens' Slider component
|
|
|
|
| 44 |
def chat(x):
|
| 45 |
result = gradio_client.predict(
|
| 46 |
x,# str representing input in 'User input' Textbox component
|
| 47 |
+
0.9, # float, representing input in 'Top-p (nucleus sampling)' Slider component
|
| 48 |
30, # int, representing input in 'Top-k (nucleus sampling)' Slider component
|
| 49 |
0.7, # float, representing input in 'Temperature' Slider component
|
| 50 |
20, # int, representing input in 'Max New Tokens' Slider component
|