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)
|
# 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],
|
[i for ls in LOADER_DICT.values() for i in ls],
|
||||||
accept_multiple_files=True,
|
accept_multiple_files=True,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue