Streamlit Config File

Hi
I have a config file in my localhost of xampp
like
htdocs โ†’ python โ†’ .streamlit โ†’ config.toml

But my app doesnโ€™t read the contents of the file. Is there any fix for it?

Thank You

It depends on how or from which directory you start your Streamlit application:

https://docs.streamlit.io/library/advanced-features/configuration

I am calling the file from a PHP script.

Hi @akshat
Make sure .streamlit folder is at the root directory of your project. If the app is running already, kill it from terminal and rerun it again.

I hope this helps.