Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +15 -20
requirements.txt
CHANGED
|
@@ -1,40 +1,35 @@
|
|
| 1 |
-
# Full requirements for CU1-X UI Element Detector
|
| 2 |
-
# Use this file for deployment to Hugging Face Spaces or production
|
| 3 |
-
|
| 4 |
-
# Core dependencies
|
| 5 |
gradio[oauth]==4.44.1
|
| 6 |
|
| 7 |
-
#
|
| 8 |
-
torch==2.
|
| 9 |
-
torchvision==0.
|
| 10 |
|
| 11 |
-
#
|
| 12 |
opencv-python-headless==4.10.0.84
|
| 13 |
pillow==10.4.0
|
| 14 |
numpy==1.26.4
|
| 15 |
supervision==0.23.0
|
| 16 |
|
| 17 |
-
# OCR
|
| 18 |
easyocr==1.7.1
|
| 19 |
|
| 20 |
-
# Transformers &
|
| 21 |
-
transformers==4.
|
|
|
|
|
|
|
| 22 |
|
| 23 |
-
# RF-DETR
|
| 24 |
rfdetr==1.0.4
|
| 25 |
|
| 26 |
-
# API
|
| 27 |
fastapi==0.115.0
|
| 28 |
uvicorn[standard]==0.30.6
|
| 29 |
|
| 30 |
-
# HTTP
|
| 31 |
requests==2.32.3
|
| 32 |
aiohttp==3.10.5
|
| 33 |
|
| 34 |
-
#
|
|
|
|
|
|
|
| 35 |
pytest==8.3.3
|
| 36 |
-
|
| 37 |
-
# Utilities
|
| 38 |
-
python-multipart==0.0.9 # For FastAPI file uploads
|
| 39 |
-
python-dotenv==1.0.1 # For environment variables
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
gradio[oauth]==4.44.1
|
| 2 |
|
| 3 |
+
# Core DL
|
| 4 |
+
torch==2.3.1
|
| 5 |
+
torchvision==0.18.1
|
| 6 |
|
| 7 |
+
# Vision
|
| 8 |
opencv-python-headless==4.10.0.84
|
| 9 |
pillow==10.4.0
|
| 10 |
numpy==1.26.4
|
| 11 |
supervision==0.23.0
|
| 12 |
|
| 13 |
+
# OCR
|
| 14 |
easyocr==1.7.1
|
| 15 |
|
| 16 |
+
# Transformers stack (COMPATIBLE with PEFT & RF-DETR)
|
| 17 |
+
transformers==4.35.2
|
| 18 |
+
peft==0.6.2
|
| 19 |
+
accelerate==0.25.0
|
| 20 |
|
| 21 |
+
# RF-DETR
|
| 22 |
rfdetr==1.0.4
|
| 23 |
|
| 24 |
+
# API
|
| 25 |
fastapi==0.115.0
|
| 26 |
uvicorn[standard]==0.30.6
|
| 27 |
|
| 28 |
+
# HTTP
|
| 29 |
requests==2.32.3
|
| 30 |
aiohttp==3.10.5
|
| 31 |
|
| 32 |
+
# Misc
|
| 33 |
+
python-multipart==0.0.9
|
| 34 |
+
python-dotenv==1.0.1
|
| 35 |
pytest==8.3.3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|