I believe it needs to be in the same directory as the main Streamlit app.py file for it to work and for the pages to be picked up automatically. I guess you could move the app.py file and the pages directory into the src directory and run it all from there. There are a number of ways the structure could be setup. This is the one I found that works for me just now. 🙂
Awesome thanks you
Thank you! and appreciate your content.
Thank you for sharing.
Thanks!
Why is the pages directory not located inside the src directory?
I believe it needs to be in the same directory as the main Streamlit app.py file for it to work and for the pages to be picked up automatically. I guess you could move the app.py file and the pages directory into the src directory and run it all from there.
There are a number of ways the structure could be setup. This is the one I found that works for me just now. 🙂
nice!