Update app.py
Browse files
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=
|
| 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 |
|