bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 207 forks source link

Streamlit web GUI not working, fix included #72

Open gitter-joe opened 1 year ago

gitter-joe commented 1 year ago

This is the error I got when running the code snippet from the readme:

Uncaught app exception Traceback (most recent call last): File "F:\Anaconda3\envs\sd\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 556, in _run_script exec(code, module.dict) File "F:\StableDiffusion\openvino\stable_diffusion.openvino-master\demo_web.py", line 6, in from streamlit_drawable_canvas import st_canvas ModuleNotFoundError: No module named 'streamlit_drawable_canvas'

Fixed it by installing streamlit_drawable_canvas with pip as it was not included in the requirements.txt.