fix typo
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def opus_trans(article, target_language):
|
|
53 |
Returns:
|
54 |
string: translated piece of article based off target_language
|
55 |
"""
|
56 |
-
result_lang = detect_lang(article,
|
57 |
if target_language == "English":
|
58 |
result_lang = "zh"
|
59 |
target_lang = "en"
|
|
|
53 |
Returns:
|
54 |
string: translated piece of article based off target_language
|
55 |
"""
|
56 |
+
result_lang = detect_lang(article, target_language)
|
57 |
if target_language == "English":
|
58 |
result_lang = "zh"
|
59 |
target_lang = "en"
|