richylyq commited on
Commit
e059be8
·
1 Parent(s): de3cada

logic change

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -135,11 +135,10 @@ def nllb_trans(article, target_language):
135
  def translate(article, toolkit, target_language):
136
  if toolkit == "OPUS":
137
  translated = opus_trans(article, target_language)
 
138
  elif toolkit == "NLLB":
139
  pass
140
 
141
- return translated
142
-
143
 
144
  myTheme = myTheme()
145
 
 
135
  def translate(article, toolkit, target_language):
136
  if toolkit == "OPUS":
137
  translated = opus_trans(article, target_language)
138
+ return translated
139
  elif toolkit == "NLLB":
140
  pass
141
 
 
 
142
 
143
  myTheme = myTheme()
144