Using Streamlit: .streamlit/config.toml issue

When I run my streamlit in terminal with: cd C:\Users\name\OneDrive\Desktop (ENTER) streamlit run app.py. The website shows everything I put in Python code but no changes with background color that config.toml contains.

When I run my streamlit in terminal with: cd C:\Users\name\OneDrive\Desktop\catalog_with_project (ENTER) streamlit run app.py. The website changed background color but nothing from my Python code.

Everything is in catalog_with_project: app.py, assets, styles, .streamlit.

I’m out of ideas.

According to the docs, you can set your configuration options

In a per-project config file at $CWD/.streamlit/config.toml, where $CWD is the folder you’re running Streamlit from.

2 Likes

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