richylyq commited on
Commit
11995ca
·
1 Parent(s): 17d8e45

update langdetect”

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,5 +66,5 @@ textbox = gr.Textbox()
66
  dropdown = gr.Dropdown(["en", "zh"])
67
 
68
  langdetect = gr.Interface(
69
- lang_detect, [gr.Textbox(), gr.Dropdown(["en", "zh"])], outputs=[gr.Textbox()]
70
  )
 
66
  dropdown = gr.Dropdown(["en", "zh"])
67
 
68
  langdetect = gr.Interface(
69
+ lang_detect, [gr.Textbox(), gr.Dropdown(["en", "zh"])], outputs=textbox
70
  )