Manmay Nakhashi commited on
Commit
550cc4a
·
1 Parent(s): 93ba49e

Bump to gradio 5.7.1; drop pydantic/starlette/fastapi 4.x compat pins

Browse files

The 4.44.1 path requires pinning pydantic/starlette/fastapi to dodge
known bugs in gradio_client 1.3.0 + the legacy TemplateResponse
signature. Cleaner to upgrade to gradio 5.7.1 where those bugs are
already fixed upstream.

Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +1 -3
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🎭
4
  colorFrom: red
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 4.44.1
8
  app_file: app.py
9
  pinned: true
10
  license: other
 
4
  colorFrom: red
5
  colorTo: indigo
6
  sdk: gradio
7
+ sdk_version: 5.7.1
8
  app_file: app.py
9
  pinned: true
10
  license: other
requirements.txt CHANGED
@@ -1,8 +1,5 @@
1
  torch==2.4.0
2
  torchaudio==2.4.0
3
- pydantic==2.10.6
4
- starlette<1.0
5
- fastapi<0.116
6
  safetensors>=0.4.0
7
  accelerate>=0.25.0
8
  peft>=0.7.0
@@ -14,6 +11,7 @@ sentencepiece>=0.1.99
14
  transformers>=4.45.0
15
  huggingface_hub>=0.20.0,<1.0
16
  bitsandbytes>=0.43.0
 
17
  spaces>=0.30.0
18
  soundfile>=0.12.0
19
  resemble-perth @ git+https://github.com/resemble-ai/Perth.git@master
 
1
  torch==2.4.0
2
  torchaudio==2.4.0
 
 
 
3
  safetensors>=0.4.0
4
  accelerate>=0.25.0
5
  peft>=0.7.0
 
11
  transformers>=4.45.0
12
  huggingface_hub>=0.20.0,<1.0
13
  bitsandbytes>=0.43.0
14
+ gradio==5.7.1
15
  spaces>=0.30.0
16
  soundfile>=0.12.0
17
  resemble-perth @ git+https://github.com/resemble-ai/Perth.git@master