From a6592c29e019ff0400eec8fd1f43bc684865b357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E6=96=87?= Date: Fri, 20 Dec 2024 12:53:42 +0800 Subject: [PATCH] Remove print logs --- src/pai_rag/app/web/tabs/chat_tab.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/pai_rag/app/web/tabs/chat_tab.py b/src/pai_rag/app/web/tabs/chat_tab.py index 4bcca1b7..c111d538 100644 --- a/src/pai_rag/app/web/tabs/chat_tab.py +++ b/src/pai_rag/app/web/tabs/chat_tab.py @@ -36,7 +36,6 @@ def respond(input_elements: List[Any]): index_name = update_dict["chat_index"] citation = update_dict["citation"] - print('update_dict["include_history"]', update_dict["include_history"]) if not update_dict["include_history"]: chatbot, _ = clear_history(chatbot) if chatbot is not None: @@ -112,12 +111,6 @@ def create_chat_tab() -> Dict[str, Any]: info="Inference with multi-modal LLM.", elem_id="need_image", ) - include_history = gr.Checkbox( - label="Chat history", - info="Query with chat history.", - elem_id="include_history", - value=True, - ) with gr.Column(visible=True) as vs_col: vec_model_argument = gr.Accordion(