richylyq commited on
Commit
b44d3df
·
1 Parent(s): b58b9dc

update langdetect”

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