Upgrade the Streamlit version of your app on Streamlit Cloud
Want to use a cool new Streamlit feature but your app on Streamlit Cloud is running an old version of the Streamlit library? If that's you, don't worry! All you need to do is upgrade your app's Streamlit version. Here are five ways to do this, based on how your app manages dependencies:
No dependency file
When there is no dependency file in the repo, the app will always use the same Streamlit version that existed when the app was first deployed on Streamlit Cloud; even if you reboot the app! In other words, Streamlit Cloud automatically pins the version for you so that the app does not break suddenly when rebooted in the future.
You may want to avoid getting into this situation if your app depends on a specific version of Streamlit. That is why we encourage you to use a dependency file and pin your desired version of Streamlit. We cover this in more detail in the sections below.
