richylyq commited on
Commit
350bfee
1 Parent(s): 99ff70d

change lang selection to radio button

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def opus_trans(message, target_lang):
68
 
69
 
70
  article = gr.Textbox()
71
- lang_select = gr.Dropdown(["en", "zh"])
72
  translate = gr.Interface(
73
  opus_trans,
74
  [
 
68
 
69
 
70
  article = gr.Textbox()
71
+ lang_select = gr.Radio(["en", "zh"])
72
  translate = gr.Interface(
73
  opus_trans,
74
  [