Spaces:
Sleeping
Sleeping
Restore huggingface_hub<1.0 pin (gradio 5.0.x still uses HfFolder)
Browse files- requirements.txt +3 -1
requirements.txt
CHANGED
|
@@ -6,4 +6,6 @@ torchinfo>=1.8
|
|
| 6 |
gradio>=5.0
|
| 7 |
docutils>=0.20
|
| 8 |
mne>=1.11
|
| 9 |
-
huggingface_hub
|
|
|
|
|
|
|
|
|
| 6 |
gradio>=5.0
|
| 7 |
docutils>=0.20
|
| 8 |
mne>=1.11
|
| 9 |
+
# Gradio 5.0.x still imports HfFolder (removed only in huggingface_hub 1.0+).
|
| 10 |
+
# Pin until we move to a gradio version that drops the legacy import.
|
| 11 |
+
huggingface_hub>=0.23,<1.0
|