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