Hayk Arutyunyan commited on
Commit
299733f
·
1 Parent(s): fd2f26e

Fix OpenCV import error in Streamlit Cloud

Browse files
Files changed (1) hide show
  1. requirements.txt +9 -6
requirements.txt CHANGED
@@ -1,19 +1,22 @@
 
 
 
1
  numpy==1.26.4
2
  pandas==2.2.3
3
  pillow==10.4.0
4
- opencv-python-headless==4.10.0.84
 
 
 
5
  scikit-image==0.25.2
6
 
7
- # OCR Stack — стабильный, без Paddlex
8
  paddlepaddle==2.6.1
9
  paddleocr==2.7.3
10
- pytesseract==0.3.10
11
 
12
- # Документы
13
  python-docx==1.2.0
14
  pdf2image==1.17.0
15
 
16
- # Streamlit
17
  streamlit==1.36.0
18
  pyyaml==6.0.2
19
- openpyxl==3.1.5
 
1
+ --no-binary=opencv-python
2
+ --no-binary=opencv-contrib-python
3
+
4
  numpy==1.26.4
5
  pandas==2.2.3
6
  pillow==10.4.0
7
+
8
+ opencv-python-headless==4.7.0.72
9
+ opencv-python==4.7.0.72
10
+
11
  scikit-image==0.25.2
12
 
 
13
  paddlepaddle==2.6.1
14
  paddleocr==2.7.3
 
15
 
16
+ pytesseract==0.3.10
17
  python-docx==1.2.0
18
  pdf2image==1.17.0
19
 
 
20
  streamlit==1.36.0
21
  pyyaml==6.0.2
22
+ openpyxl==3.1.5