Spaces:
Paused
Paused
Update requirements.txt
Browse files- requirements.txt +5 -3
requirements.txt
CHANGED
|
@@ -2,14 +2,16 @@
|
|
| 2 |
fastapi==0.95.2
|
| 3 |
uvicorn==0.22.0
|
| 4 |
|
| 5 |
-
# Hugging Face Transformers for model loading and inference
|
| 6 |
-
transformers==4.30.2
|
| 7 |
|
| 8 |
# PyTorch for model inference (CPU or GPU)
|
| 9 |
torch==2.0.1
|
| 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
# Pydantic for data validation and schema definitions
|
| 12 |
-
pydantic==1.10.7
|
| 13 |
|
| 14 |
# Logging and utilities
|
| 15 |
loguru==0.7.0 # Optional: For enhanced logging
|
|
|
|
| 2 |
fastapi==0.95.2
|
| 3 |
uvicorn==0.22.0
|
| 4 |
|
|
|
|
|
|
|
| 5 |
|
| 6 |
# PyTorch for model inference (CPU or GPU)
|
| 7 |
torch==2.0.1
|
| 8 |
|
| 9 |
+
# Hugging Face Transformers for model loading and inference
|
| 10 |
+
transformers
|
| 11 |
+
sentencepiece
|
| 12 |
+
|
| 13 |
# Pydantic for data validation and schema definitions
|
| 14 |
+
pydantic==1.10.7
|
| 15 |
|
| 16 |
# Logging and utilities
|
| 17 |
loguru==0.7.0 # Optional: For enhanced logging
|