Spaces:
Sleeping
Sleeping
v4: pin huggingface_hub<1.0 (Gradio 4.x needs HfFolder, removed in hub 1.0)
Browse files- requirements.txt +4 -4
requirements.txt
CHANGED
|
@@ -3,12 +3,12 @@ matplotlib>=3.7
|
|
| 3 |
numpy>=1.24
|
| 4 |
torch>=2.0
|
| 5 |
pillow>=10.0
|
| 6 |
-
huggingface_hub
|
|
|
|
| 7 |
|
| 8 |
# llama-cpp-python: prebuilt wheel from AIencoder/llama-cpp-wheels.
|
| 9 |
-
# CPU-only
|
| 10 |
-
#
|
| 11 |
https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.16%2Bbasic_avx2_fma_f16c-cp312-cp312-manylinux_2_31_x86_64.whl
|
| 12 |
|
| 13 |
-
# Backport for stdlib audioop, removed in Python 3.13.
|
| 14 |
audioop-lts; python_version >= "3.13"
|
|
|
|
| 3 |
numpy>=1.24
|
| 4 |
torch>=2.0
|
| 5 |
pillow>=10.0
|
| 6 |
+
# huggingface_hub <1.0 — Gradio 4.x imports HfFolder which was removed in 1.0.
|
| 7 |
+
huggingface_hub>=0.24,<1.0
|
| 8 |
|
| 9 |
# llama-cpp-python: prebuilt wheel from AIencoder/llama-cpp-wheels.
|
| 10 |
+
# CPU-only, AVX2 + FMA + F16C — the right baseline for HF Spaces' x86_64.
|
| 11 |
+
# Avoids source-build, which is unreliable on Spaces.
|
| 12 |
https://huggingface.co/datasets/AIencoder/llama-cpp-wheels/resolve/main/llama_cpp_python-0.3.16%2Bbasic_avx2_fma_f16c-cp312-cp312-manylinux_2_31_x86_64.whl
|
| 13 |
|
|
|
|
| 14 |
audioop-lts; python_version >= "3.13"
|