Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|