richylyq commited on
Commit
f08dd12
1 Parent(s): fbe66fa
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def opus_trans(article, target_language):
53
  Returns:
54
  string: translated piece of article based off target_language
55
  """
56
- result_lang = detect_lang(article, target_lang)
57
  if target_language == "English":
58
  result_lang = "zh"
59
  target_lang = "en"
 
53
  Returns:
54
  string: translated piece of article based off target_language
55
  """
56
+ result_lang = detect_lang(article, target_language)
57
  if target_language == "English":
58
  result_lang = "zh"
59
  target_lang = "en"