Streamlit cannot not change theme with config.toml file

Summary

i have checked that my.streamlit (which contains config.toml) folder is in the same directory as the My_try.py,
Root
β”œβ”€ .streamlit
β”‚ └─ config.toml
└─ My_try.py

Steps to reproduce


My vscide file list looks like this.

How can I make sure that my python app uses the toml file?
when i try " streamlit run D:\摌青\Root\My_try.py" in anaconda prompts,it’s still dark

Make sure te current directory is D:\摌青\Root\ before running the application.

1 Like

It really works!we need to use anconda prompts to cd the root cataloge,thanks you alot!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.