test fix
Browse files
app.py
CHANGED
@@ -90,7 +90,7 @@ def opus_trans(article, target_language):
|
|
90 |
string: translated piece of article based off target_language
|
91 |
"""
|
92 |
result_lang = detect_lang(article, target_language)
|
93 |
-
|
94 |
if target_language == "English":
|
95 |
target_lang = "en"
|
96 |
elif target_language == "Chinese":
|
|
|
90 |
string: translated piece of article based off target_language
|
91 |
"""
|
92 |
result_lang = detect_lang(article, target_language)
|
93 |
+
target_lang = ""
|
94 |
if target_language == "English":
|
95 |
target_lang = "en"
|
96 |
elif target_language == "Chinese":
|