Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def builder(Lang, Text):
|
|
81 |
|
82 |
|
83 |
# [ output_1 ]
|
84 |
-
if Lang == '
|
85 |
pred = LANGUAGE.predict_lang(Text)
|
86 |
if '__label__en' in pred[0]:
|
87 |
Lang = 'Eng'
|
|
|
81 |
|
82 |
|
83 |
# [ output_1 ]
|
84 |
+
if Lang == '언어감지 기능 사용':
|
85 |
pred = LANGUAGE.predict_lang(Text)
|
86 |
if '__label__en' in pred[0]:
|
87 |
Lang = 'Eng'
|