Use core features to work with Streamlit's execution model - Streamlit Docs