Ghostgim commited on
Commit
7ee1307
·
verified ·
1 Parent(s): 27aaddd

Bump to gradio 5.12 (4.x broken on new HF Space dep stack)

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +5 -6
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🤖
4
  colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 4.44.0
8
  python_version: "3.12"
9
  app_file: app.py
10
  pinned: true
 
4
  colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 5.12.0
8
  python_version: "3.12"
9
  app_file: app.py
10
  pinned: true
requirements.txt CHANGED
@@ -1,7 +1,6 @@
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
 
1
+ # Gradio 5.x: fixes pydub/audioop incompat (Python 3.13) + ships its
2
+ # own working starlette/jinja2 versions. 4.x had hard breaks in the
3
+ # new HF Space dep stack.
4
+ gradio>=5.12,<6
5
+ # Install ghostloop directly from the GitHub release until PyPI publish.
 
6
  ghostloop @ git+https://github.com/joemunene-by/ghostloop.git@main