mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-31 19:33:26 +08:00
update knowledge_base page
This commit is contained in:
parent
75f1e84b1f
commit
629e0278d5
@ -127,7 +127,7 @@ def knowledge_base_page(api: ApiRequest):
|
||||
|
||||
# 上传文件
|
||||
# sentence_size = st.slider("文本入库分句长度限制", 1, 1000, SENTENCE_SIZE, disabled=True)
|
||||
files = st.file_uploader("上传知识文件(暂不支持扫描PDF)",
|
||||
files = st.file_uploader("上传知识文件",
|
||||
[i for ls in LOADER_DICT.values() for i in ls],
|
||||
accept_multiple_files=True,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user