Spaces:
Running
on
Zero
Running
on
Zero
Update requirements.txt
Browse files- requirements.txt +19 -25
requirements.txt
CHANGED
|
@@ -1,33 +1,27 @@
|
|
| 1 |
-
#
|
| 2 |
-
torch==2.1.0
|
| 3 |
-
torchvision==0.16.0
|
| 4 |
|
| 5 |
-
#
|
| 6 |
-
|
| 7 |
|
| 8 |
-
#
|
| 9 |
-
|
| 10 |
-
accelerate==0.24.1
|
| 11 |
|
| 12 |
-
#
|
| 13 |
pillow==10.0.1
|
| 14 |
-
requests==2.31.0
|
| 15 |
-
numpy==1.26.4
|
| 16 |
-
tqdm==4.66.1
|
| 17 |
-
gdown==4.7.1
|
| 18 |
|
| 19 |
-
#
|
| 20 |
-
|
|
|
|
| 21 |
|
| 22 |
-
#
|
| 23 |
-
|
| 24 |
-
timm==1.0.3
|
| 25 |
-
opencv-contrib-python==4.8.1.78 # incluye opencv-python
|
| 26 |
-
mediapipe==0.10.7
|
| 27 |
-
retina-face==0.0.13
|
| 28 |
|
| 29 |
-
#
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
-
#
|
| 33 |
-
|
|
|
|
|
|
| 1 |
+
# Core ML frameworks - CPU optimized versions
|
| 2 |
+
torch==2.1.0+cpu
|
| 3 |
+
torchvision==0.16.0+cpu
|
| 4 |
|
| 5 |
+
# Transformers for Florence-2 model
|
| 6 |
+
transformers==4.44.0
|
| 7 |
|
| 8 |
+
# Gradio UI framework
|
| 9 |
+
gradio==4.44.0
|
|
|
|
| 10 |
|
| 11 |
+
# Image processing
|
| 12 |
pillow==10.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
# Essential utilities
|
| 15 |
+
numpy==1.24.3
|
| 16 |
+
requests==2.31.0
|
| 17 |
|
| 18 |
+
# Hugging Face Spaces support
|
| 19 |
+
spaces==0.19.4
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
# Optional accelerations (commented out to avoid conflicts)
|
| 22 |
+
# accelerate==0.24.1
|
| 23 |
+
# sentence-transformers==2.2.2
|
| 24 |
|
| 25 |
+
# Development and debugging (optional)
|
| 26 |
+
# logging
|
| 27 |
+
# typing-extensions
|