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.tomlis one of four possible ways to specify your app’s Python dependencies for Community Cloud to install -
.streamlit/config.tomlis 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 @snehankekre Thanks so much for the clarification, appreciate a quick response.
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!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.