Pin huggingface_hub<1.0: gradio 4.44.1 still imports removed HfFolder class
Browse files- requirements.txt +5 -0
requirements.txt
CHANGED
|
@@ -12,6 +12,11 @@ gradio==4.44.1
|
|
| 12 |
# at import time. Conditional install: only needed on 3.13+.
|
| 13 |
audioop-lts; python_version >= "3.13"
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Hybrid route classifier (TF-IDF + logistic regression)
|
| 16 |
scikit-learn==1.8.0
|
| 17 |
scipy==1.17.1
|
|
|
|
| 12 |
# at import time. Conditional install: only needed on 3.13+.
|
| 13 |
audioop-lts; python_version >= "3.13"
|
| 14 |
|
| 15 |
+
# gradio 4.44.1 still imports HfFolder, which was removed in huggingface_hub 1.0.
|
| 16 |
+
# Pin to the 0.x line so the resolver does not pull 1.x from the HF Spaces base
|
| 17 |
+
# image (which installs huggingface_hub>=0.30 with no upper bound).
|
| 18 |
+
huggingface_hub>=0.30,<1.0
|
| 19 |
+
|
| 20 |
# Hybrid route classifier (TF-IDF + logistic regression)
|
| 21 |
scikit-learn==1.8.0
|
| 22 |
scipy==1.17.1
|