Spaces:
Sleeping
Sleeping
fix: requirements.txt (resolve RUNTIME_ERROR / gradio launch)
Browse files- requirements.txt +12 -2
requirements.txt
CHANGED
|
@@ -1,6 +1,16 @@
|
|
| 1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
llama-cpp-python==0.2.90
|
|
|
|
|
|
|
| 3 |
huggingface_hub==0.24.6
|
|
|
|
| 4 |
requests==2.32.3
|
| 5 |
gitpython==3.1.43
|
| 6 |
-
|
|
|
|
|
|
|
|
|
| 1 |
+
# --- Fixed dependency set for Hugging Face Docker Space ---
|
| 2 |
+
# Gradio 4.44.0 has a known "unhashable type: 'dict'" Jinja template bug on
|
| 3 |
+
# Spaces. 4.44.1 ships the fix and works reliably behind the HF proxy.
|
| 4 |
+
gradio==4.44.1
|
| 5 |
+
|
| 6 |
+
# Pin a known-good llama-cpp wheel that has prebuilt CPU binaries for py3.11.
|
| 7 |
llama-cpp-python==0.2.90
|
| 8 |
+
|
| 9 |
+
# huggingface_hub 0.24.x is compatible with gradio 4.44.x
|
| 10 |
huggingface_hub==0.24.6
|
| 11 |
+
|
| 12 |
requests==2.32.3
|
| 13 |
gitpython==3.1.43
|
| 14 |
+
|
| 15 |
+
# Gradio 4.44.x requires pydantic v2; 2.8.2 is the tested combo.
|
| 16 |
+
pydantic==2.8.2
|