fixes
Browse files
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
|
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"
|