Spaces:
Sleeping
Sleeping
Create requirements.txt
Browse files- requirements.txt +25 -0
requirements.txt
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core ML & inference
|
| 2 |
+
transformers>=4.44.0
|
| 3 |
+
accelerate>=0.33.0
|
| 4 |
+
# Use CPU build of torch on HF Spaces unless you enable GPU
|
| 5 |
+
# (HF Spaces will pick a compatible build automatically)
|
| 6 |
+
torch>=2.3.0
|
| 7 |
+
safetensors>=0.4.3
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
# App & UI
|
| 11 |
+
gradio>=4.44.0
|
| 12 |
+
rich>=13.7.1
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
# Networking & typing
|
| 16 |
+
httpx>=0.27.0
|
| 17 |
+
pydantic>=2.7.0
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
# Optional – load env vars locally (Spaces use Secrets UI)
|
| 21 |
+
python-dotenv>=1.0.1
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
# Sometimes needed by certain HF models (safe to include)
|
| 25 |
+
sentencepiece>=0.2.0
|