Spaces:
Running
Running
Modify Label
Browse files
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="
|
21 |
with gr.Column():
|
22 |
-
out_text = gr.TextArea(label="
|
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):
|