Spaces:
Sleeping
Sleeping
mrhblfx
commited on
Commit
•
de0ed4a
1
Parent(s):
0ff8384
style:accordion of 解析任意code项目 is closed by default
Browse files
main.py
CHANGED
@@ -86,7 +86,7 @@ def main():
|
|
86 |
crazy_fns[k]["Button"] = gr.Button(k, variant=variant)
|
87 |
crazy_fns[k]["Button"].style(size="sm")
|
88 |
with gr.Row():
|
89 |
-
with gr.Accordion("解析任意code项目", open=
|
90 |
gr.Markdown("输入时用逗号隔开, `*`代表通配符, 加了`^`代表不匹配<br>例如: `*.c, ^*.cpp, config.toml, ^README.md`")
|
91 |
with gr.Row():
|
92 |
txt_pattern = gr.Textbox(show_label=False, placeholder="输入框为空则代表匹配所有文件").style(container=False)
|
|
|
86 |
crazy_fns[k]["Button"] = gr.Button(k, variant=variant)
|
87 |
crazy_fns[k]["Button"].style(size="sm")
|
88 |
with gr.Row():
|
89 |
+
with gr.Accordion("解析任意code项目", open=False):
|
90 |
gr.Markdown("输入时用逗号隔开, `*`代表通配符, 加了`^`代表不匹配<br>例如: `*.c, ^*.cpp, config.toml, ^README.md`")
|
91 |
with gr.Row():
|
92 |
txt_pattern = gr.Textbox(show_label=False, placeholder="输入框为空则代表匹配所有文件").style(container=False)
|