ash-171 commited on
Commit
b77eb8e
·
verified ·
1 Parent(s): 5cfaa61

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +1 -1
streamlit_app.py CHANGED
@@ -57,7 +57,7 @@ if user_input:
57
  except Exception as e:
58
  result = f"Error: {str(e)}"
59
  st.session_state.chat_history.append(AIMessage(content=result))
60
- #st.rerun()
61
 
62
  # Display full chat history (before running spinner)
63
  for msg in st.session_state.chat_history:
 
57
  except Exception as e:
58
  result = f"Error: {str(e)}"
59
  st.session_state.chat_history.append(AIMessage(content=result))
60
+ st.rerun()
61
 
62
  # Display full chat history (before running spinner)
63
  for msg in st.session_state.chat_history: