Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -405,7 +405,7 @@ elif selected == "Chat":
|
|
405 |
st.session_state.messages.append({"message": response, "is_user": False})
|
406 |
|
407 |
# Rerun to refresh the UI with new messages
|
408 |
-
st.
|
409 |
else:
|
410 |
st.warning("Please enter a message.")
|
411 |
|
|
|
405 |
st.session_state.messages.append({"message": response, "is_user": False})
|
406 |
|
407 |
# Rerun to refresh the UI with new messages
|
408 |
+
st.rerun()
|
409 |
else:
|
410 |
st.warning("Please enter a message.")
|
411 |
|