Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +9 -5
requirements.txt
CHANGED
|
@@ -1,9 +1,13 @@
|
|
| 1 |
-
|
| 2 |
-
torch==2.4.1
|
| 3 |
-
|
| 4 |
-
fastapi
|
| 5 |
-
uvicorn[standard]
|
| 6 |
transformers==4.45.1
|
| 7 |
tokenizers==0.20.3
|
|
|
|
| 8 |
sentencepiece==0.2.0
|
| 9 |
huggingface_hub>=0.24.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core libs (same versions you used)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
transformers==4.45.1
|
| 3 |
tokenizers==0.20.3
|
| 4 |
+
accelerate==0.33.0
|
| 5 |
sentencepiece==0.2.0
|
| 6 |
huggingface_hub>=0.24.0
|
| 7 |
+
gradio==5.44.1
|
| 8 |
+
safetensors>=0.4.1
|
| 9 |
+
regex>=2025.8.29
|
| 10 |
+
|
| 11 |
+
# CPU Torch (use *extra* index so the rest still installs from PyPI)
|
| 12 |
+
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 13 |
+
torch==2.4.1+cpu
|