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

update langdetect”

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