Spaces:
Runtime error
Runtime error
Update app.py
#3
by
reach-vb
HF staff
- opened
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())
|