Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -0
src/streamlit_app.py
CHANGED
@@ -119,6 +119,8 @@ with st.sidebar:
|
|
119 |
# Add clear history button
|
120 |
if st.button("Clear History"):
|
121 |
st.session_state.messages = []
|
|
|
|
|
122 |
|
123 |
# Accept user input
|
124 |
if prompt := st.chat_input("Enter a question based on a selected task."):
|
|
|
119 |
# Add clear history button
|
120 |
if st.button("Clear History"):
|
121 |
st.session_state.messages = []
|
122 |
+
st.rerun()
|
123 |
+
|
124 |
|
125 |
# Accept user input
|
126 |
if prompt := st.chat_input("Enter a question based on a selected task."):
|