I’m trying to read image/text files from another folder to display in the app. It worked perfectly fine locally and I uploaded all the files into my repo. However, when it’s deployed, I get errors :
FileNotFoundError: [Errno 2] No such file or directory:
'./dashboard/remote_paths.txt'
FYI, here is an explanation of how paths work on Community Cloud. The trick to remember is that streamlit run is executed from the root of your repository, not the directory containing your entrypoint file.