Hi,
I’m trying to make multiple apps, each with their own config.toml and secrets.toml files, but they all keep using the ones on my .streamlit folder at C:\Users\xxxxx\ .streamlit, any way around this? Im using windows 10.
Thanks!
Hi,
I’m trying to make multiple apps, each with their own config.toml and secrets.toml files, but they all keep using the ones on my .streamlit folder at C:\Users\xxxxx\ .streamlit, any way around this? Im using windows 10.
Thanks!
Hi @Zehtre , how about doing this?
Make a separate folder of each of your projects and then include within it your .streamlit folder containing the relevant project’s config.toml file
Open the command/ terminal, navigate to the desired project folder and then execute Streamlit run youproject.py. This should work.
Cheers
See relevant docs for even more options (CLI / Environment variables).
Shawn is correct about per project .streamlit folders. you could do:
- project_1\.streamlit\config.toml
- project_1\streamlit_app.py
- project_2\.streamlit\config.toml
- project_2\streamlit_app.py
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.