Skip to content

Commit

Permalink
Remove print logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wwxxzz committed Dec 20, 2024
1 parent 37bb117 commit a6592c2
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/pai_rag/app/web/tabs/chat_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit a6592c2

Please sign in to comment.