BigSalmon commited on
Commit
8bbc7e8
1 Parent(s): 9d63266

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 100,
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,