Spaces:
Running
Running
Update app.py
Browse files
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(
|