edit error msg
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def opus_trans(article, target_language):
|
|
120 |
translated = translator(article)[0]["translation_text"]
|
121 |
# print(translated)
|
122 |
else:
|
123 |
-
translated = "Error: You chose the same language as the article detected language. Please reselect
|
124 |
return translated
|
125 |
|
126 |
|
|
|
120 |
translated = translator(article)[0]["translation_text"]
|
121 |
# print(translated)
|
122 |
else:
|
123 |
+
translated = "Error: You chose the same language as the article detected language. Please reselect language and try again."
|
124 |
return translated
|
125 |
|
126 |
|