Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ def translation(text):
|
|
| 5 |
if not text:
|
| 6 |
return ""
|
| 7 |
try:
|
| 8 |
-
translator = GoogleTranslator(source='auto', target='
|
| 9 |
result = translator.translate(text)
|
| 10 |
return result
|
| 11 |
except Exception as e:
|
|
|
|
| 5 |
if not text:
|
| 6 |
return ""
|
| 7 |
try:
|
| 8 |
+
translator = GoogleTranslator(source='auto', target='my')
|
| 9 |
result = translator.translate(text)
|
| 10 |
return result
|
| 11 |
except Exception as e:
|