Spaces:
Build error
Build error
Updated Requirements file
Browse files- requirements.txt +39 -19
requirements.txt
CHANGED
|
@@ -1,20 +1,40 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
dlib-bin==19.22.0
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
numpy
|
| 20 |
-
werkzeug
|
|
|
|
| 1 |
+
|
| 2 |
+
# Core PyTorch (use CPU-only versions for faster install)
|
| 3 |
+
torch==2.0.1+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
| 4 |
+
torchvision==0.15.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
|
| 5 |
+
|
| 6 |
+
# Image processing
|
| 7 |
+
Pillow==9.5.0
|
| 8 |
+
opencv-python-headless==4.8.0.76
|
| 9 |
+
|
| 10 |
+
# Core ML libraries
|
| 11 |
+
numpy==1.24.3
|
| 12 |
+
matplotlib==3.7.1
|
| 13 |
+
|
| 14 |
+
# NLP libraries
|
| 15 |
+
nltk==3.8.1
|
| 16 |
+
rouge-score==0.1.2
|
| 17 |
+
|
| 18 |
+
# COCO evaluation (this is problematic - see alternatives below)
|
| 19 |
+
# pycocotools==2.0.6
|
| 20 |
+
# pycocoevalcap @ git+https://github.com/salaniz/pycocoevalcap.git
|
| 21 |
+
|
| 22 |
+
# Web framework
|
| 23 |
+
flask==2.3.2
|
| 24 |
+
flask-sqlalchemy==3.0.5
|
| 25 |
+
gunicorn==21.2.0
|
| 26 |
+
werkzeug==2.3.6
|
| 27 |
+
|
| 28 |
+
# Object detection
|
| 29 |
+
ultralytics==8.0.120
|
| 30 |
+
|
| 31 |
+
# Face recognition - LIGHTER ALTERNATIVES
|
| 32 |
+
# Option 1: MediaPipe (recommended - much faster)
|
| 33 |
+
mediapipe==0.10.1
|
| 34 |
+
|
| 35 |
+
# Option 2: If you must use dlib-based face recognition
|
| 36 |
+
face-recognition==1.3.0
|
| 37 |
dlib-bin==19.22.0
|
| 38 |
+
|
| 39 |
+
# Progress tracking
|
| 40 |
+
tqdm==4.65.0
|
|
|
|
|
|