Hi Here, Should we create a separate .streamlit/config.toml file, or could we configure it in the pyproject.toml file in the main project directory? Please let me know when you have a moment
Hi @Bharat_koti
The .streamlit/config.toml
file and pyproject.toml
file serve two entirely different purposes:
-
pyproject.toml
is one of four possible ways to specify your app’s Python dependencies for Community Cloud to install -
.streamlit/config.toml
is where you can change Streamlit’s configuration options for things like theming, turn on/off telemetry, change the logging level, and more.
If you want to change any of Streamlit’s configuration options, you will have to create either a global .streamlit/config.toml
file or a per-project config file as described in Configuration.
1 Like
Hi, sorry to bother, but how can i make the per-project config file persistent through different installs?, I’ve been searching but i can’t come up with it. Cheers!