st.experimental_rerun was deprecated in version 1.27.0. Use
Rerun the script immediately.
When st.experimental_rerun() is called, the script is halted - no more statements will be run, and the script will be queued to re-run from the top.
Still have questions?
Our forums are full of helpful information and Streamlit experts.