When I load images into the image_comparison, I get the following error in the logs:
Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 564, in _run_script
exec(code, module.__dict__)
File "/app/streamlit_img_diff/pages/Second_try.py", line 31, in <module>
img_comparison(before, after)
File "/app/streamlit_img_diff/pages/Second_try.py", line 22, in img_comparison
image_comparison(
File "/home/appuser/venv/lib/python3.9/site-packages/streamlit_image_comparison/__init__.py", line 79, in image_comparison
img1_pillow = sahi.utils.cv.read_image_as_pil(img1)
AttributeError: module 'sahi' has no attribute 'utils'
This is the app that I am using:
https://kenichiqaz-streamlit-img-diff-app-c9nv3a.streamlit.app/Second_try