Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +18 -23
requirements.txt
CHANGED
|
@@ -1,27 +1,22 @@
|
|
| 1 |
-
# Core ML
|
| 2 |
-
torch
|
| 3 |
-
torchvision
|
| 4 |
-
ultralytics
|
| 5 |
|
| 6 |
-
# Computer Vision
|
| 7 |
-
opencv-python
|
| 8 |
-
numpy
|
| 9 |
-
lap
|
| 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 |
-
#
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
|
| 20 |
-
|
|
|
|
| 21 |
|
| 22 |
-
# Salesforce
|
| 23 |
-
simple-salesforce
|
| 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
|
|
|
|
|
|
|
|
|