iammraat commited on
Commit
fb44f72
·
verified ·
1 Parent(s): 0d5aed6

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -4
requirements.txt CHANGED
@@ -8,10 +8,10 @@
8
 
9
  craft-hw-ocr
10
  gradio>=3.43.1
11
- # Fix executable stack error
12
  torch>=2.0.0
13
  torchvision>=0.15.0
14
- # Fix numpy compatibility crash
15
  numpy<2.0.0
16
- # Fix 'DictValue' attribute error by using a stable OpenCV version
17
- opencv-python-headless==4.9.0.80
 
8
 
9
  craft-hw-ocr
10
  gradio>=3.43.1
11
+ # Fixes "executable stack" error (Modern PyTorch)
12
  torch>=2.0.0
13
  torchvision>=0.15.0
14
+ # Fixes "numpy.core.multiarray" crash (NumPy 1.x)
15
  numpy<2.0.0
16
+ # Fixes "DictValue" crash (Stable Headless OpenCV)
17
+ opencv-python-headless==4.8.0.74