Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ device = 0 if torch.cuda.is_available() else -1
|
|
28 |
|
29 |
|
30 |
|
31 |
-
def translate(text, source_lang, target_lang, max_length=
|
32 |
"""
|
33 |
Translate text from source language to target language
|
34 |
"""
|
|
|
28 |
|
29 |
|
30 |
|
31 |
+
def translate(text, source_lang, target_lang, max_length=450):
|
32 |
"""
|
33 |
Translate text from source language to target language
|
34 |
"""
|