Update requirements.txt
Browse files- requirements.txt +19 -22
requirements.txt
CHANGED
|
@@ -1,27 +1,24 @@
|
|
| 1 |
-
# Core
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
accelerate>=1.1.0
|
| 5 |
-
bitsandbytes>=0.44.0
|
| 6 |
-
optimum>=1.23.0
|
| 7 |
|
| 8 |
-
#
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
|
| 13 |
-
#
|
| 14 |
-
|
| 15 |
|
| 16 |
-
# Image
|
| 17 |
-
|
| 18 |
-
Pillow>=10.4.0
|
| 19 |
-
|
| 20 |
-
# Caching & Performance
|
| 21 |
-
cachetools>=5.5.0
|
| 22 |
-
aiofiles>=24.1.0
|
| 23 |
|
| 24 |
# Utilities
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core Flask API
|
| 2 |
+
flask==2.3.3
|
| 3 |
+
flask-cors==4.0.0
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
+
# Core ML & Transformers
|
| 6 |
+
torch==2.1.0
|
| 7 |
+
transformers==4.36.0
|
| 8 |
+
accelerate==0.25.0
|
| 9 |
|
| 10 |
+
# Quantization (for smaller, faster models)
|
| 11 |
+
bitsandbytes==0.41.3
|
| 12 |
|
| 13 |
+
# Image Processing
|
| 14 |
+
pillow==10.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
|
| 16 |
# Utilities
|
| 17 |
+
numpy==1.24.3
|
| 18 |
+
requests==2.31.0
|
| 19 |
+
|
| 20 |
+
# Hugging Face Spaces specific
|
| 21 |
+
gunicorn==21.2.0
|
| 22 |
+
|
| 23 |
+
# Development (optional)
|
| 24 |
+
python-dotenv==1.0.0
|