Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def predict(input, history=[]):
|
|
| 18 |
do_sample=True,
|
| 19 |
top_k=100,
|
| 20 |
top_p=0.7,
|
| 21 |
-
temperature=0.
|
| 22 |
|
| 23 |
# convert the tokens to text, and then split the responses into lines
|
| 24 |
response = tokenizer.decode(history[0]).split("<|endoftext|>")
|
|
|
|
| 18 |
do_sample=True,
|
| 19 |
top_k=100,
|
| 20 |
top_p=0.7,
|
| 21 |
+
temperature=0.85).tolist()
|
| 22 |
|
| 23 |
# convert the tokens to text, and then split the responses into lines
|
| 24 |
response = tokenizer.decode(history[0]).split("<|endoftext|>")
|