diff --git a/requirements.txt b/requirements.txt index 4bf8fc3..515ce76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,15 @@ -streamlit==1.31.0 -Pillow==10.0.0 -pytesseract==0.3.10 -numpy -opencv-python-headless -python-opencv \ No newline at end of file +# Core dependencies +streamlit>=1.31.0,<2.0.0 +Pillow>=10.2.0,<11.0.0 +pytesseract>=0.3.10,<0.4.0 + +# Scientific and Image Processing +numpy>=1.26.4,<2.0.0 +opencv-python-headless>=4.9.0.80,<5.0.0 + +# Additional requirements for Python 3.12 compatibility +typing-extensions>=4.9.0,<5.0.0 +python-opencv>=1.0.0,<2.0.0 + +# Ensure all packages are Python 3.12 compatible +packaging>=23.2,<24.0 \ No newline at end of file