richylyq commited on
Commit
9215493
1 Parent(s): b52f918

edit error msg

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 target_language and try again."
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