richylyq commited on
Commit
b52f918
1 Parent(s): 5e8469e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def opus_trans(article, target_language):
105
  string: translated piece of article based off target_language
106
  """
107
  print(target_language)
108
- result_lang = detect_lang(article, target_language)
109
 
110
  if target_language == "English":
111
  target_lang = "en"
 
105
  string: translated piece of article based off target_language
106
  """
107
  print(target_language)
108
+ result_lang = detect_lang(article)
109
 
110
  if target_language == "English":
111
  target_lang = "en"