dongyuxuan Claude Opus 4.6 commited on
Commit
9cbfc9e
·
1 Parent(s): ef57a5c

Pin huggingface_hub<1.0 to fix HfFolder import error

Browse files

gradio 4.44.x imports HfFolder from huggingface_hub, which was removed
in huggingface_hub 1.0. Pin to <1.0 for compatibility.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. requirements.txt +1 -1
requirements.txt CHANGED
@@ -3,7 +3,7 @@ torch>=2.1.0
3
  librosa>=0.10.0
4
  numpy>=1.24.0
5
  joblib>=1.3.0
6
- huggingface_hub>=0.20.0
7
  matplotlib>=3.8.0
8
  pandas>=2.0.0
9
  soundfile>=0.12.1
 
3
  librosa>=0.10.0
4
  numpy>=1.24.0
5
  joblib>=1.3.0
6
+ huggingface_hub>=0.20.0,<1.0
7
  matplotlib>=3.8.0
8
  pandas>=2.0.0
9
  soundfile>=0.12.1