requirements.txt
If the Streamlit version is not pinned (i.e., the requirements file contains a line with streamlit and nothing else):
Reboot the app as described above.
If the Streamlit version is pinned (e.g., streamlit==1.0.0):
Adapt the pinned version in the requirements file and push it to GitHub.
The app on Streamlit Cloud will reboot automatically as soon as it detects these changes.
pipenv/poetry/conda
If you use any of these dependency managers, you probably know what you need to do. 😉
On your local computer, run the command to update the Streamlit package:
pipenv update streamlit or
poetry update streamlit or
With an activated conda environment, run:
pip install -U streamlit and
conda env export
Then push any changes to Pipfile.lock or poetry.lock or environment.yml to GitHub.
The app on Streamlit Cloud will reboot automatically as soon as it detects these changes.
