Manikanta3776 commited on
Commit
eaa165b
·
verified ·
1 Parent(s): e1fe690

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("---")