CCockrum commited on
Commit
2845932
·
verified ·
1 Parent(s): b744871

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -193,6 +193,8 @@ if st.sidebar.button("Reset Chat"):
193
  st.session_state.response_ready = False
194
  st.session_state.follow_up = ""
195
 
 
 
196
  # ✅ Chat UI
197
  if user_input:
198
  # ✅ Save user input to chat history
 
193
  st.session_state.response_ready = False
194
  st.session_state.follow_up = ""
195
 
196
+ user_input = st.chat_input("Type your message here...") # Make sure this is executed first
197
+
198
  # ✅ Chat UI
199
  if user_input:
200
  # ✅ Save user input to chat history