PrashanthB461 commited on
Commit
0604e6e
·
verified ·
1 Parent(s): 952ccda

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +18 -23
requirements.txt CHANGED
@@ -1,27 +1,22 @@
1
- # Core ML/DL
2
- torch>=2.0.0
3
- torchvision>=0.15.0
4
- ultralytics>=8.0.0
5
 
6
- # Computer Vision
7
- opencv-python>=4.8.0
8
- numpy>=1.24.0
9
- lap>=0.4.0
10
- cython>=0.29.36
11
- dlib>=19.24.0
12
- face-recognition>=1.3.0
13
- face-recognition-models>=0.3.0
14
 
15
- # App Framework
16
- gradio>=4.0.0
 
17
 
18
- # Reporting & PDF
19
- reportlab>=4.0.0
20
- Pillow>=9.5.0
 
21
 
22
- # Salesforce Integration
23
- simple-salesforce>=1.12.0
24
-
25
- # Utilities
26
- retrying>=1.3.0
27
- scipy>=1.10.0
 
1
+ # Core ML (Use CPU-only torch to save space)
2
+ torch==2.0.1+cpu --index-url https://download.pytorch.org/whl/cpu
3
+ torchvision==0.15.2+cpu
4
+ ultralytics==8.0.203
5
 
6
+ # Computer Vision (Use lighter alternatives if possible)
7
+ opencv-python-headless==4.8.0.76 # Smaller than opencv-python
8
+ numpy==1.24.0
9
+ lap==0.4.0
 
 
 
 
10
 
11
+ # Face Recognition (Use pre-built wheel)
12
+ https://github.com/ageitgey/face_recognition_models/raw/master/face_recognition_models-0.3.0-py2.py3-none-any.whl
13
+ dlib==19.24.1 # Might still fail without system deps
14
 
15
+ # App & Reporting
16
+ gradio==4.0.0
17
+ reportlab==4.0.0
18
+ Pillow==9.5.0
19
 
20
+ # Salesforce & Utilities
21
+ simple-salesforce==1.12.0
22
+ retrying==1.3.4