Ghostgim commited on
Commit
6aadc3c
·
verified ·
1 Parent(s): ac8e455

Pin huggingface_hub<1.0 (HfFolder removed in 1.x)

Browse files
Files changed (1) hide show
  1. requirements.txt +4 -1
requirements.txt CHANGED
@@ -1,4 +1,7 @@
1
- gradio>=4.44
 
 
 
2
  # Install ghostloop directly from the GitHub release tag.
3
  # Once `pip install ghostloop` is on PyPI we'll swap this for `ghostloop>=1.0.1`.
4
  ghostloop @ git+https://github.com/joemunene-by/ghostloop.git@main
 
1
+ gradio>=4.44,<5
2
+ # Pin huggingface_hub to <1.0 because gradio 4.x imports HfFolder which
3
+ # was removed in huggingface_hub 1.x. (HF Spaces install latest by default.)
4
+ huggingface_hub>=0.24,<1.0
5
  # Install ghostloop directly from the GitHub release tag.
6
  # Once `pip install ghostloop` is on PyPI we'll swap this for `ghostloop>=1.0.1`.
7
  ghostloop @ git+https://github.com/joemunene-by/ghostloop.git@main