Spaces:
Runtime error
Runtime error
Update app.py (#3)
Browse files- Update app.py (f7e4169778d10f2a5324ce9c83b37427c4fcbd1d)
app.py
CHANGED
@@ -25,8 +25,8 @@ def pred(text_in,):
|
|
25 |
return_dict_in_generate=True,
|
26 |
output_scores=True,
|
27 |
enable_timing=False,
|
28 |
-
temperature=0.
|
29 |
-
top_p=0.
|
30 |
)
|
31 |
out = fn()
|
32 |
text_out = tokenizer.batch_decode(out.sequences.tolist())
|
|
|
25 |
return_dict_in_generate=True,
|
26 |
output_scores=True,
|
27 |
enable_timing=False,
|
28 |
+
temperature=0.9,
|
29 |
+
top_p=0.7,
|
30 |
)
|
31 |
out = fn()
|
32 |
text_out = tokenizer.batch_decode(out.sequences.tolist())
|