Spaces:
Paused
Paused
mrhblfx
commited on
Commit
•
d192672
1
Parent(s):
2f9a4e1
Add parsing arbitrary code items
Browse files
main.py
CHANGED
@@ -85,7 +85,7 @@ with gr.Blocks(title="ChatGPT 学术优化", theme=set_theme, analytics_enabled=
|
|
85 |
crazy_fns[k]["Button"].style(size="sm")
|
86 |
with gr.Row():
|
87 |
with gr.Accordion("解析任意code项目", open=True):
|
88 |
-
gr.Markdown("
|
89 |
with gr.Row():
|
90 |
gr.Markdown("将要匹配文件的后缀, 不输入则代表解析所有文件")
|
91 |
txt_pattern_include = gr.Textbox(show_label=False, placeholder="例如: .c .cpp .py").style(container=False)
|
|
|
85 |
crazy_fns[k]["Button"].style(size="sm")
|
86 |
with gr.Row():
|
87 |
with gr.Accordion("解析任意code项目", open=True):
|
88 |
+
gr.Markdown("输入的文件后缀用空格或逗号隔开,可混合使用空格逗号, 其中`.`可省略<br>例如:`.c, cpp py .go, .toml, json`")
|
89 |
with gr.Row():
|
90 |
gr.Markdown("将要匹配文件的后缀, 不输入则代表解析所有文件")
|
91 |
txt_pattern_include = gr.Textbox(show_label=False, placeholder="例如: .c .cpp .py").style(container=False)
|