FileNotFoundError: [Errno 2] No such file or directory: '/app/plastichingelengthwalls1/Capture1.png'

Hi
My app has encountered an error and cannot load image:
github: GitHub - msbearthquake/Plastichingelengthwalls1: Plastic hinge length of reinforced concrete structural walls (RCSWs) version 1
How should I use images ?

FileNotFoundError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 562, in _run_script
    exec(code, module.__dict__)File "/app/plastichingelengthwalls1/streamPHL.py", line 14, in <module>
    image1 = Image.open(filename1)File "/home/appuser/venv/lib/python3.9/site-packages/PIL/Image.py", line 3092, in open
    fp = builtins.open(filename, "rb")

It sounds like you’re not providing the correct path to the file you’re trying to access. Once you’ve deployed your app with Streamlit Community Cloud, you may need to change the path that you’ve used in your code if you were previously accessing a file that was stored locally on your computer.