Gregniuki commited on
Commit
88fb476
·
verified ·
1 Parent(s): 3ebdedd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -167,7 +167,7 @@ def translate_batch(text_input):
167
  **inputs,
168
  max_length=1024,
169
  num_beams=8,
170
- early_stopping=True
171
  )
172
  # output_ids shape: [batch_size, sequence_length]
173
 
 
167
  **inputs,
168
  max_length=1024,
169
  num_beams=8,
170
+ early_stopping=False
171
  )
172
  # output_ids shape: [batch_size, sequence_length]
173