Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def translate_to_english(model, tokenizer, text):
|
|
| 25 |
input_ids=input_ids, attention_mask=attention_masks,
|
| 26 |
do_sample=True,
|
| 27 |
max_length=256,
|
| 28 |
-
min_length =
|
| 29 |
temperature = temp,
|
| 30 |
top_k=120,
|
| 31 |
top_p=0.98,
|
|
|
|
| 25 |
input_ids=input_ids, attention_mask=attention_masks,
|
| 26 |
do_sample=True,
|
| 27 |
max_length=256,
|
| 28 |
+
min_length = 20,
|
| 29 |
temperature = temp,
|
| 30 |
top_k=120,
|
| 31 |
top_p=0.98,
|