Spaces:
Runtime error
Runtime error
Fix
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ def translate(inp, direction):
|
|
15 |
res = translater(
|
16 |
text,
|
17 |
max_length=999999999,
|
18 |
-
early_stopping=
|
19 |
)[0]['translation_text'][3:]
|
20 |
return res
|
21 |
|
|
|
15 |
res = translater(
|
16 |
text,
|
17 |
max_length=999999999,
|
18 |
+
early_stopping=False,
|
19 |
)[0]['translation_text'][3:]
|
20 |
return res
|
21 |
|