Issue while deploying streamlit app

I have issues with location of the files. I am using the relative path of each files and pages. It works fine with local host but when I deploy the application. It results in several error saying no file found. Could someone provide an example of work they did where they are loading multiple files from different folders that works fine after deployment as well.
Link to the project that I am doing GitHub Repo


You can’t have locally hosted files deployed on Streamlit.

You’d have to host them elsewhere. Given the data in your repo, I would suggest you host your images on a platform such as ImgBB for free and just link their deployed image paths instead of your locally hosted ones.

Hope this helps!


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