diff --git a/ChuanhuChatbot.py b/ChuanhuChatbot.py index 424b4d11..0a9a04db 100644 --- a/ChuanhuChatbot.py +++ b/ChuanhuChatbot.py @@ -249,7 +249,7 @@ def create_new_model(): container=False, ) gr.Markdown("---", elem_classes="hr-line") - with gr.Accordion(label=i18n("知识库"), open=True): + with gr.Accordion(label=i18n("知识库"), open=True, elem_id="gr-kb-accordion"): use_websearch_checkbox = gr.Checkbox(label=i18n( "使用在线搜索"), value=False, elem_classes="switch-checkbox", elem_id="gr-websearch-cb", visible=False) index_files = gr.Files(label=i18n( diff --git a/web_assets/html/chatbot_more.html b/web_assets/html/chatbot_more.html index 91336c9b..6d9e74df 100644 --- a/web_assets/html/chatbot_more.html +++ b/web_assets/html/chatbot_more.html @@ -19,7 +19,7 @@