update langdetect”
Browse files
app.py
CHANGED
|
@@ -64,6 +64,6 @@ def opus_trans(message, result_lang, target_lang):
|
|
| 64 |
|
| 65 |
# textbox = gr.Textbox()
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
|
|
|
| 64 |
|
| 65 |
# textbox = gr.Textbox()
|
| 66 |
|
| 67 |
+
langdetect = gr.Interface(
|
| 68 |
+
lang_detect, [gr.Textbox(), gr.Dropdown(["en", "zh"])], outputs=gr.Textbox()
|
| 69 |
+
)
|