UI change
Browse files
main.py
CHANGED
@@ -59,13 +59,13 @@ with gr.Blocks(theme=set_theme, analytics_enabled=False) as demo:
|
|
59 |
variant = functional[k]["Color"] if "Color" in functional[k] else "secondary"
|
60 |
functional[k]["Button"] = gr.Button(k, variant=variant)
|
61 |
with gr.Row():
|
62 |
-
gr.Markdown("
|
63 |
with gr.Row():
|
64 |
for k in crazy_functional:
|
65 |
variant = crazy_functional[k]["Color"] if "Color" in crazy_functional[k] else "secondary"
|
66 |
crazy_functional[k]["Button"] = gr.Button(k, variant=variant)
|
67 |
with gr.Row():
|
68 |
-
gr.Markdown("
|
69 |
with gr.Row():
|
70 |
file_upload = gr.Files(label='任何文件,但推荐上传压缩文件(zip, tar)', file_count="multiple")
|
71 |
|
|
|
59 |
variant = functional[k]["Color"] if "Color" in functional[k] else "secondary"
|
60 |
functional[k]["Button"] = gr.Button(k, variant=variant)
|
61 |
with gr.Row():
|
62 |
+
gr.Markdown("以下部分实验性功能需从input框读取路径.")
|
63 |
with gr.Row():
|
64 |
for k in crazy_functional:
|
65 |
variant = crazy_functional[k]["Color"] if "Color" in crazy_functional[k] else "secondary"
|
66 |
crazy_functional[k]["Button"] = gr.Button(k, variant=variant)
|
67 |
with gr.Row():
|
68 |
+
gr.Markdown("上传本地文件供上面的实验性功能调用.")
|
69 |
with gr.Row():
|
70 |
file_upload = gr.Files(label='任何文件,但推荐上传压缩文件(zip, tar)', file_count="multiple")
|
71 |
|