Update requirements.txt
Browse files- requirements.txt +3 -5
requirements.txt
CHANGED
|
@@ -4,26 +4,24 @@ uvicorn[standard]==0.24.0
|
|
| 4 |
python-multipart==0.0.6
|
| 5 |
pydantic==2.5.0
|
| 6 |
pydantic-settings==2.1.0
|
|
|
|
| 7 |
|
| 8 |
-
# Hugging Face
|
| 9 |
huggingface-hub==0.20.3
|
| 10 |
transformers==4.36.2
|
| 11 |
-
torch==2.1.2
|
| 12 |
accelerate==0.25.0
|
| 13 |
|
| 14 |
# Async & Performance
|
| 15 |
aiofiles==23.2.1
|
| 16 |
-
asyncio==3.4.3
|
| 17 |
httpx==0.25.2
|
| 18 |
|
| 19 |
# Utilities
|
| 20 |
python-jose[cryptography]==3.3.0
|
| 21 |
passlib[bcrypt]==1.7.4
|
| 22 |
-
redis==5.0.1
|
| 23 |
|
| 24 |
# Development
|
| 25 |
python-dotenv==1.0.0
|
| 26 |
-
watchfiles==0.21.0
|
| 27 |
|
| 28 |
# Production
|
| 29 |
gunicorn==21.2.0
|
|
|
|
| 4 |
python-multipart==0.0.6
|
| 5 |
pydantic==2.5.0
|
| 6 |
pydantic-settings==2.1.0
|
| 7 |
+
numpy<2.0.0 # Critical: fixes NumPy compatibility
|
| 8 |
|
| 9 |
+
# Hugging Face - updated versions
|
| 10 |
huggingface-hub==0.20.3
|
| 11 |
transformers==4.36.2
|
| 12 |
+
torch==2.1.2+cu118 # Specify CUDA version if needed
|
| 13 |
accelerate==0.25.0
|
| 14 |
|
| 15 |
# Async & Performance
|
| 16 |
aiofiles==23.2.1
|
|
|
|
| 17 |
httpx==0.25.2
|
| 18 |
|
| 19 |
# Utilities
|
| 20 |
python-jose[cryptography]==3.3.0
|
| 21 |
passlib[bcrypt]==1.7.4
|
|
|
|
| 22 |
|
| 23 |
# Development
|
| 24 |
python-dotenv==1.0.0
|
|
|
|
| 25 |
|
| 26 |
# Production
|
| 27 |
gunicorn==21.2.0
|