Issue with st.empty()

Hi @oltipreka,

With the release of session state this should no longer be an issue for you! :tada:

You can store the values of all of your widgets in the state object and then use them on reruns of your app to dynamically change the output! :partying_face:

Check out the blog post here: Store Information Across App Interactions | Session State

State API here: Session State API β€” Streamlit 0.86.0 documentation

Upgrade Streamlit to 0.84 or above to be able to use this new feature!

Happy Streamlit-ing!
Marisa

1 Like