penut85420 commited on
Commit
6ac8a12
1 Parent(s): e6caaae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -16,13 +16,12 @@ theme = gr.themes.Soft(font=font)
16
  with gr.Blocks(title=title, theme=theme) as app:
17
  gr.Markdown("# 簡繁轉換小工具 OpenCC Converter")
18
 
19
- with gr.Box():
20
- with gr.Row():
21
- with gr.Column():
22
- inn_text = gr.TextArea(label="輸入文字", show_copy_button=True)
23
- with gr.Column():
24
- out_text = gr.TextArea(label="輸出文字", show_copy_button=True)
25
- options = gr.Dropdown(rev_config_keys, value=rev_config_keys[0], label="轉換選項")
26
 
27
  with gr.Row():
28
  conv_btn = gr.Button("轉換")
 
16
  with gr.Blocks(title=title, theme=theme) as app:
17
  gr.Markdown("# 簡繁轉換小工具 OpenCC Converter")
18
 
19
+ with gr.Row():
20
+ with gr.Column():
21
+ inn_text = gr.TextArea(label="輸入文字", show_copy_button=True)
22
+ with gr.Column():
23
+ out_text = gr.TextArea(label="輸出文字", show_copy_button=True)
24
+ options = gr.Dropdown(rev_config_keys, value=rev_config_keys[0], label="轉換選項")
 
25
 
26
  with gr.Row():
27
  conv_btn = gr.Button("轉換")