Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ if prompt := st.chat_input("What would you like to paraphrase?"):
|
|
79 |
# Add a button to clear chat history
|
80 |
if st.button("Clear Chat History"):
|
81 |
st.session_state.messages = []
|
82 |
-
st.rerun() # Use st.rerun() instead of st.experimental_rerun()
|
83 |
|
84 |
# Footer
|
85 |
st.markdown("---")
|
|
|
79 |
# Add a button to clear chat history
|
80 |
if st.button("Clear Chat History"):
|
81 |
st.session_state.messages = []
|
82 |
+
st.rerun() # Use st.rerun() instead of st.experimental_rerun()
|
83 |
|
84 |
# Footer
|
85 |
st.markdown("---")
|