Config.toml location

Hi @vshets,

where is the streamlit config show sourcing this info from?

It’s coming from the streamlit executable itself. All of the config options are dynamically created and set to their defaults in the code, so streamlit config show just prints them out for you.

do I have to copy+paste all the contents from the output of streamlit config show and then make mods to this newly created file?

You do, but there’s an easy way to do this on a Mac:

streamlit config show > ~/.streamlit/config.toml

Then just open ~/.streamlit/config.toml in any basic editor and edit the values you need in that file. E.g. you could do:

nano ~/.streamlit/config.toml

…to open it in the command-line-based text editor, nano.

I hope that helps!

5 Likes