Pin huggingface_hub<1.0
Browse files- requirements.txt +4 -2
requirements.txt
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
torch>=2.1
|
| 2 |
numpy>=1.24
|
| 3 |
matplotlib>=3.7
|
| 4 |
-
gradio>=4.44
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
# audioop was dropped from the Python stdlib in 3.13. The Space is pinned to
|
| 7 |
# 3.12 in README frontmatter, but keep the shim for safety in case it gets
|
| 8 |
# rebuilt on a newer interpreter.
|
|
|
|
| 1 |
torch>=2.1
|
| 2 |
numpy>=1.24
|
| 3 |
matplotlib>=3.7
|
| 4 |
+
gradio>=4.44,<5
|
| 5 |
+
# Pin <1.0: huggingface_hub 1.x (released after the original Space build)
|
| 6 |
+
# dropped HfFolder, which gradio 4.x imports at module load.
|
| 7 |
+
huggingface_hub>=0.24,<1.0
|
| 8 |
# audioop was dropped from the Python stdlib in 3.13. The Space is pinned to
|
| 9 |
# 3.12 in README frontmatter, but keep the shim for safety in case it gets
|
| 10 |
# rebuilt on a newer interpreter.
|