CodingWithLewis/MemeGenerator

Can't find image error (AttributeError)

Opened this issue · 0 comments

AttributeError: 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/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 584, in _run_script
    exec(code, module.__dict__)
File "/mount/src/memegenerator/run_ui.py", line 35, in <module>
    st.image(str(image_path.absolute()))
                 ^^^^^^^^^^^^^^^^^^^