update:knowledge load script

This commit is contained in:
aries-ckt
2023-05-19 21:17:39 +08:00
parent 03f7ed32e5
commit 336ba1e042
9 changed files with 49 additions and 53 deletions

View File

@@ -499,6 +499,7 @@ def build_single_model_ui():
files = gr.File(label="添加文件",
file_types=[".txt", ".md", ".docx", ".pdf"],
file_count="multiple",
allow_flagged_uploads=True,
show_label=False
)