heerjtdev commited on
Commit
66473a8
·
verified ·
1 Parent(s): e63e43f

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +8 -10
requirements.txt CHANGED
@@ -1,25 +1,23 @@
1
- # Core scientific packages - install first
2
  numpy==1.24.3
3
  scipy==1.11.4
4
  pandas>=2.0.0,<3.0
5
-
6
- # Machine learning - use flexible versioning
7
  scikit-learn>=1.3.0,<1.6.0
8
 
 
 
 
 
 
9
  # Web Framework
10
  gradio==4.44.0
11
 
12
- # Deep Learning
13
- torch==2.2.0 # <--- THIS IS THE CRITICAL CHANGE
14
-
15
  # NLP
16
  transformers==4.37.0
17
  tokenizers>=0.15.0,<0.20.0
18
  TorchCRF==1.1.0
19
 
20
- # Optimization (Still removed: optimum, onnxruntime)
21
-
22
- # Computer Vision - relax these versions
23
  ultralytics>=8.0.0,<8.1.0
24
  opencv-python-headless>=4.8.0,<5.0.0
25
 
@@ -32,5 +30,5 @@ pytesseract>=0.3.10
32
  # Image Processing
33
  Pillow>=10.0.0,<11.0.0
34
 
35
- # Pix2Text - Now relies on PyTorch backend
36
  pix2text==1.1.1.2
 
1
+ # Core scientific packages
2
  numpy==1.24.3
3
  scipy==1.11.4
4
  pandas>=2.0.0,<3.0
 
 
5
  scikit-learn>=1.3.0,<1.6.0
6
 
7
+ # Deep Learning - CPU ONLY
8
+ --extra-index-url https://download.pytorch.org/whl/cpu
9
+ torch==2.2.0+cpu
10
+ torchvision==0.17.0+cpu
11
+
12
  # Web Framework
13
  gradio==4.44.0
14
 
 
 
 
15
  # NLP
16
  transformers==4.37.0
17
  tokenizers>=0.15.0,<0.20.0
18
  TorchCRF==1.1.0
19
 
20
+ # Computer Vision
 
 
21
  ultralytics>=8.0.0,<8.1.0
22
  opencv-python-headless>=4.8.0,<5.0.0
23
 
 
30
  # Image Processing
31
  Pillow>=10.0.0,<11.0.0
32
 
33
+ # Pix2Text
34
  pix2text==1.1.1.2