Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def chat_function(message, history, max_new_tokens, temperature):
|
|
| 57 |
max_new_tokens = 1870,
|
| 58 |
eos_token_id = terminators,
|
| 59 |
do_sample = True,
|
| 60 |
-
temperature = 0,
|
| 61 |
top_p = 0.9,)
|
| 62 |
return outputs[0]["generated_text"][len(prompt):]
|
| 63 |
|
|
|
|
| 57 |
max_new_tokens = 1870,
|
| 58 |
eos_token_id = terminators,
|
| 59 |
do_sample = True,
|
| 60 |
+
temperature = 0.001,
|
| 61 |
top_p = 0.9,)
|
| 62 |
return outputs[0]["generated_text"][len(prompt):]
|
| 63 |
|