Spaces:
Running
Running
Commit ·
ac46b30
1
Parent(s): 1e731a0
Pin huggingface_hub<1.0 for gradio 4.44 compatibility
Browse filesgradio 4.44.1 imports HfFolder from huggingface_hub at import time, but
>=0.28.0 resolved to huggingface_hub 1.x where HfFolder was removed, crashing
the app on startup. Cap to <1.0, which still provides Inference Providers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- requirements.txt +2 -1
requirements.txt
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
gradio==4.44.1
|
| 2 |
-
huggingface_hub
|
|
|
|
| 3 |
requests>=2.32.0
|
| 4 |
trafilatura>=1.12.0
|
| 5 |
python-docx>=1.1.2
|
|
|
|
| 1 |
gradio==4.44.1
|
| 2 |
+
# gradio 4.44 imports HfFolder, removed in huggingface_hub 1.0 — keep <1.0 (still has Inference Providers).
|
| 3 |
+
huggingface_hub>=0.28.0,<1.0
|
| 4 |
requests>=2.32.0
|
| 5 |
trafilatura>=1.12.0
|
| 6 |
python-docx>=1.1.2
|