By the way, we don’t have docs for the static snapshot feature yet, but the TLDR is:
- Run
streamlit config show
and take note of everything in the[S3]
session - Add the
[S3]
session and all the relevant properties to yourconfig.toml
(or pass them as CLI arguments) - Now there’s going to be a new menu item in Streamlit that lets you share a snapshot of your app to S3! Note that this is a static snapshot — there is no Python backend. So widgets won’t work, for example. This is mostly for quick sharing purposes, instead of printing to PDF
And for the baseUrlPath
feature, it’s a similar deal:
- Run
streamlit config show
and check out the docs forbaseUrlPath
under[server]
- Add that option to your
config.toml
or pass it as the CLI argument--server.baseUrlPath
.