Nelly-43 commited on
Commit
3e095dc
·
verified ·
1 Parent(s): ce988cc

Update app_web.py

Browse files
Files changed (1) hide show
  1. app_web.py +2 -0
app_web.py CHANGED
@@ -340,6 +340,7 @@ def render_chat():
340
  max_clarifications = qu_cfg.get("max_clarifications", 1)
341
 
342
  if qu_enabled:
 
343
  # Exclude the just-appended user message to avoid sending
344
  # the current question twice (once in history, once as query)
345
  prior_messages = st.session_state.messages[:-1]
@@ -376,6 +377,7 @@ def render_chat():
376
 
377
  # Generate assistant response
378
  with st.chat_message("assistant"):
 
379
  with st.status("Searching knowledge base...", expanded=True) as status:
380
  # Show reformulated query if different
381
  if search_query != original_query:
 
340
  max_clarifications = qu_cfg.get("max_clarifications", 1)
341
 
342
  if qu_enabled:
343
+ print("Q understanding")
344
  # Exclude the just-appended user message to avoid sending
345
  # the current question twice (once in history, once as query)
346
  prior_messages = st.session_state.messages[:-1]
 
377
 
378
  # Generate assistant response
379
  with st.chat_message("assistant"):
380
+ print("Searching knowledge base")
381
  with st.status("Searching knowledge base...", expanded=True) as status:
382
  # Show reformulated query if different
383
  if search_query != original_query: