How to edit the config.toml file on Streamlit Sharing?
I want to add code for a custom theme and display it on the share.streamlit.io website.
How to edit the config.toml file on Streamlit Sharing?
I want to add code for a custom theme and display it on the share.streamlit.io website.
Hi @prabodhw96 -
You should be able to add your own config.toml
file to the top level of your directory at <git repo>/.streamlit/config.toml
and have it work, you donโt need to edit the system-level file. Iโll check to make sure this is in our documentation, and if not, add it in.
Best,
Randy
Edit: Clarified my answer, talking about method #2 described in the documentation: Streamlit configuration โ Streamlit 0.79.0 documentation
You can see this in action at the following example repo:
Best,
Randy
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.