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.

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