JirasakJo commited on
Commit
324abdb
·
verified ·
1 Parent(s): 66d0014

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -314,12 +314,7 @@ def handle_submit(user_query: str):
314
  if not st.session_state.chat_history or st.session_state.chat_history[-1][1] != user_query:
315
  try:
316
  st.session_state.processing_query = True
317
- # Add user message to chat history
318
- st.session_state.chat_history.append(("user", user_query))
319
 
320
- # Show loading message
321
- with st.spinner("🔍 กำลังค้นหาคำตอบ..."):
322
-
323
  # Add user message to chat history
324
  st.session_state.chat_history.append(("user", user_query))
325
 
 
314
  if not st.session_state.chat_history or st.session_state.chat_history[-1][1] != user_query:
315
  try:
316
  st.session_state.processing_query = True
 
 
317
 
 
 
 
318
  # Add user message to chat history
319
  st.session_state.chat_history.append(("user", user_query))
320