Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -420,7 +420,7 @@ elif selected == "Chat":
|
|
420 |
st.session_state.messages.append({"message": response, "is_user": False})
|
421 |
|
422 |
# Rerun to refresh the UI with new messages
|
423 |
-
st.
|
424 |
else:
|
425 |
st.warning("Please enter a message.")
|
426 |
|
|
|
420 |
st.session_state.messages.append({"message": response, "is_user": False})
|
421 |
|
422 |
# Rerun to refresh the UI with new messages
|
423 |
+
st.rerun()
|
424 |
else:
|
425 |
st.warning("Please enter a message.")
|
426 |
|