moyanxinxu commited on
Commit
2097cc1
·
verified ·
1 Parent(s): 7fed05d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -74,10 +74,10 @@ with gr.Blocks() as demo:
74
  with gr.Column():
75
  with gr.Row():
76
  sorce_language = gr.Dropdown(
77
- choices=["英文", "中文"], label="源语言"
78
  )
79
  target_language = gr.Dropdown(
80
- choices=["中文", "英文"], label="目标语言"
81
  )
82
  with gr.Row():
83
  txt2translate = gr.Textbox(
 
74
  with gr.Column():
75
  with gr.Row():
76
  sorce_language = gr.Dropdown(
77
+ value="英文", choices=["英文", "中文"], label="源语言"
78
  )
79
  target_language = gr.Dropdown(
80
+ value="中文", choices=["中文", "英文"], label="目标语言"
81
  )
82
  with gr.Row():
83
  txt2translate = gr.Textbox(