heerjtdev commited on
Commit
f840874
·
verified ·
1 Parent(s): 434d541

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +27 -19
requirements.txt CHANGED
@@ -1,24 +1,32 @@
1
- ## Core PDF and Image Processing
2
- # PyMuPDF (fitz) for PDF handling
3
- PyMuPDF
4
- # OpenCV for image manipulation (cv2 used in pixmap_to_numpy)
5
- opencv-python
6
-
7
- ## Deep Learning / Vision Frameworks
8
- # PyTorch (torch) is the core deep learning library
9
- torch
10
- # NumPy for array/matrix operations
11
- numpy
 
 
 
 
 
 
 
 
 
 
 
 
12
  transformers==4.53.3
13
- ## Computer Vision / Detection
14
- # Ultralytics YOLO framework for object detection
15
- # Note: The specific version may depend on your environment (e.g., CUDA)
16
- ultralytics
17
 
 
 
18
  optimum==1.27.0 # (From previous context)
19
  onnxruntime==1.22.1
20
  onnx==1.16.1
21
-
22
- ## General Utilities
23
- # Pillow for basic image handling (PIL import)
24
- Pillow
 
1
+
2
+
3
+
4
+ # Web Framework
5
+ gradio==4.44.0
6
+
7
+ # Python Version (For reference, set in the Space SDK/Config)
8
+ # Python 3.10.12
9
+
10
+ # Core Libraries
11
+ torch==2.1.0
12
+ numpy==1.26.4
13
+ scipy==1.15.3
14
+ scikit-learn==1.7.1
15
+ Pillow==10.4.0
16
+
17
+ # Document/Image Processing & OCR
18
+ # PyMuPDF is the official package name for the 'fitz' import
19
+ PyMuPDF==1.23.2 # (Example: Replace with your final version from `pip show PyMuPDF`)
20
+ opencv-python==4.11.0.86
21
+
22
+
23
+ # Deep Learning / NLP / Vision
24
  transformers==4.53.3
25
+ ultralytics==8.1.47 # (Example: Replace with your final version from `pip show ultralytics`)
26
+
 
 
27
 
28
+
29
+ # Optimization Libraries (Crucial for optimum.onnxruntime)
30
  optimum==1.27.0 # (From previous context)
31
  onnxruntime==1.22.1
32
  onnx==1.16.1