You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when either dragging a file, or browsing to load a file, the following comes up:
TypeError: ImageMixin.image() got an unexpected keyword argument 'use_container_width'
Traceback:
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/Users/jon/dev/LLM/Ollama-OCR/src/ollama_ocr/app.py", line 247, in
main()
File "/Users/jon/dev/LLM/Ollama-OCR/src/ollama_ocr/app.py", line 164, in main
st.image(image, use_container_width=True, caption=uploaded_file.name)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/metrics_util.py", line 410, in wrapped_func
result = non_optional_func(*args, **kwargs)
The text was updated successfully, but these errors were encountered:
Seemed to install and start fine.
However, when either dragging a file, or browsing to load a file, the following comes up:
TypeError: ImageMixin.image() got an unexpected keyword argument 'use_container_width'
Traceback:
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/Users/jon/dev/LLM/Ollama-OCR/src/ollama_ocr/app.py", line 247, in
main()
File "/Users/jon/dev/LLM/Ollama-OCR/src/ollama_ocr/app.py", line 164, in main
st.image(image, use_container_width=True, caption=uploaded_file.name)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/metrics_util.py", line 410, in wrapped_func
result = non_optional_func(*args, **kwargs)
The text was updated successfully, but these errors were encountered: