Penut commited on
Commit
608cc31
·
1 Parent(s): 2a4860b

Modify Label

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,10 +17,10 @@ with gr.Blocks(title=title, theme=theme) as app:
17
  gr.Markdown("# 簡繁轉換小工具 OpenCC Converter")
18
  with gr.Row():
19
  with gr.Column():
20
- inn_text = gr.TextArea(label="Input", show_copy_button=True)
21
  with gr.Column():
22
- out_text = gr.TextArea(label="Output", show_copy_button=True)
23
- options = gr.Dropdown(rev_config_keys, value=rev_config_keys[0])
24
  gr.Markdown("Powered By [OpenCC](https://github.com/BYVoid/OpenCC)")
25
 
26
  def convert(inn, opt):
 
17
  gr.Markdown("# 簡繁轉換小工具 OpenCC Converter")
18
  with gr.Row():
19
  with gr.Column():
20
+ inn_text = gr.TextArea(label="輸入文字", show_copy_button=True)
21
  with gr.Column():
22
+ out_text = gr.TextArea(label="輸出文字", show_copy_button=True)
23
+ options = gr.Dropdown(rev_config_keys, value=rev_config_keys[0], label="轉換選項")
24
  gr.Markdown("Powered By [OpenCC](https://github.com/BYVoid/OpenCC)")
25
 
26
  def convert(inn, opt):