heerjtdev commited on
Commit
d621046
·
verified ·
1 Parent(s): 6d4cafe

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +25 -26
requirements.txt CHANGED
@@ -6,29 +6,28 @@
6
  # Web Framework
7
  gradio==4.44.0
8
 
9
- # Deep Learning Frameworks (CPU only)
10
- torch==2.1.0+cpu
11
- --extra-index-url https://download.pytorch.org/whl/cpu
12
-
13
- # Transformers and NLP - Updated versions for compatibility
14
- transformers==4.37.0
15
- tokenizers>=0.15.0
16
- TorchCRF==1.1.0
17
-
18
- # Computer Vision
19
- ultralytics==8.0.196
20
- opencv-python-headless==4.8.1.78
21
-
22
- # PDF Processing
23
- PyMuPDF==1.23.8
24
-
25
- # OCR
26
- pytesseract==0.3.10
27
-
28
- # Image Processing
29
- Pillow==10.1.0
30
-
31
- # Scientific Computing
32
- numpy==1.24.3
33
- scipy==1.11.4
34
- scikit-learn>=1.3.0
 
6
  # Web Framework
7
  gradio==4.44.0
8
 
9
+ # Python Version (For reference, set in the Space SDK/Config)
10
+ # Python 3.10.12
11
+
12
+ # Core Libraries
13
+ torch==2.1.0
14
+ numpy==1.26.4
15
+ scipy==1.15.3
16
+ scikit-learn==1.7.1
17
+ Pillow==10.4.0
18
+
19
+ # Document/Image Processing & OCR
20
+ # PyMuPDF is the official package name for the 'fitz' import
21
+ PyMuPDF==1.23.2 # (Example: Replace with your final version from `pip show PyMuPDF`)
22
+ opencv-python==4.11.0.86
23
+ pytesseract==0.3.13
24
+
25
+ # Deep Learning / NLP / Vision
26
+ transformers==4.53.3
27
+ ultralytics==8.1.47 # (Example: Replace with your final version from `pip show ultralytics`)
28
+ TorchCRF==1.1.0 # (Example: Replace with your final version from `pip show TorchCRF`)
29
+
30
+ # Optimization Libraries (Crucial for optimum.onnxruntime)
31
+ optimum==1.27.0 # (From previous context)
32
+ onnxruntime==1.22.1
33
+ onnx==1.16.1