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