logic change
Browse files
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 |
|