Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +6 -7
requirements.txt
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
# Gradio 5 (avoids 4.x's Starlette template signature breakage).
|
| 2 |
gradio>=5.5,<6.0
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
#
|
| 8 |
huggingface_hub>=0.24,<1.0
|
| 9 |
|
| 10 |
matplotlib>=3.7
|
|
@@ -12,6 +12,5 @@ numpy>=1.24
|
|
| 12 |
torch>=2.0
|
| 13 |
pillow>=10.0
|
| 14 |
|
| 15 |
-
# Prebuilt llama-cpp-python wheel
|
| 16 |
-
|
| 17 |
-
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
|
|
|
|
| 1 |
# Gradio 5 (avoids 4.x's Starlette template signature breakage).
|
| 2 |
gradio>=5.5,<6.0
|
| 3 |
|
| 4 |
+
# Pin Pydantic to fix the "bool is not iterable" error
|
| 5 |
+
pydantic==2.10.6
|
| 6 |
+
|
| 7 |
+
# CRITICAL: huggingface_hub pin for Gradio 5.5 compatibility
|
| 8 |
huggingface_hub>=0.24,<1.0
|
| 9 |
|
| 10 |
matplotlib>=3.7
|
|
|
|
| 12 |
torch>=2.0
|
| 13 |
pillow>=10.0
|
| 14 |
|
| 15 |
+
# Prebuilt llama-cpp-python wheel
|
| 16 |
+
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
|
|
|