Spaces:
Build error
Build error
Update requirements.txt
Browse files- requirements.txt +3 -1
requirements.txt
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
# ===== CORE API =====
|
2 |
fastapi==0.95.2
|
3 |
uvicorn==0.22.0
|
@@ -8,7 +11,6 @@ python-dotenv==1.0.0
|
|
8 |
torch==1.13.1 --extra-index-url https://download.pytorch.org/whl/cpu
|
9 |
transformers==4.28.1
|
10 |
diffusers==0.14.0 # Version that works with huggingface-hub 0.13.4
|
11 |
-
huggingface-hub==0.13.4 # Contains cached_download
|
12 |
accelerate==0.18.0
|
13 |
sentencepiece==0.1.99
|
14 |
|
|
|
1 |
+
# ===== SAFEGUARD: Ensure correct huggingface-hub version =====
|
2 |
+
huggingface-hub==0.13.4 # Contains cached_download
|
3 |
+
|
4 |
# ===== CORE API =====
|
5 |
fastapi==0.95.2
|
6 |
uvicorn==0.22.0
|
|
|
11 |
torch==1.13.1 --extra-index-url https://download.pytorch.org/whl/cpu
|
12 |
transformers==4.28.1
|
13 |
diffusers==0.14.0 # Version that works with huggingface-hub 0.13.4
|
|
|
14 |
accelerate==0.18.0
|
15 |
sentencepiece==0.1.99
|
16 |
|