yonagush commited on
Commit
b3dbb4b
·
verified ·
1 Parent(s): 8e1b872

Fix HfFolder ImportError: pin huggingface_hub<1.0.0 for gradio 4.40 compatibility

Browse files
Files changed (1) hide show
  1. requirements.txt +2 -0
requirements.txt CHANGED
@@ -3,6 +3,8 @@
3
  # Python 3.13 compatibility — audioop was removed from stdlib in 3.13
4
  # pydub (used by gradio internally) needs this
5
  audioop-lts>=0.2.1
 
 
6
 
7
  # AI — script generation
8
  groq>=0.9.0
 
3
  # Python 3.13 compatibility — audioop was removed from stdlib in 3.13
4
  # pydub (used by gradio internally) needs this
5
  audioop-lts>=0.2.1
6
+ # huggingface_hub 1.0.0 removed HfFolder — pin to keep gradio 4.40 working
7
+ huggingface_hub>=0.20.0,<1.0.0
8
 
9
  # AI — script generation
10
  groq>=0.9.0