Spaces:
Running
on
Zero
Running
on
Zero
chore: upgrade Gradio to 6.2.0 and align pyannote.audio dependencies
Browse files- Upgrade gradio from >=5.49.1 to >=6.2.0 in requirements.txt and pyproject.toml
- Align pyannote.audio from ==3.1.1 to >=4.0.0 in pyproject.toml to match requirements.txt
- Resolve compatibility issue with torchaudio 2.8+ where set_audio_backend was removed
- pyannote.audio 4.0+ is compatible with the modern torchaudio API
Dependencies updated:
- gradio: >=5.49.1 → >=6.2.0 (both files)
- pyannote.audio: ==3.1.1 → >=4.0.0 (pyproject.toml only)
Note: Gradio 6.2.0 has a known Safari UI rendering issue with certain file sizes
(blob URL + range requests), but upload/processing functionality works correctly.
- pyproject.toml +2 -2
- requirements.txt +1 -1
pyproject.toml
CHANGED
|
@@ -23,12 +23,12 @@ dependencies = [
|
|
| 23 |
"torch>=2.4.0",
|
| 24 |
"torchaudio>=2.4.0",
|
| 25 |
"transformers>=4.35.0",
|
| 26 |
-
"gradio>=
|
| 27 |
"spaces>=0.28.3", # HuggingFace ZeroGPU support
|
| 28 |
|
| 29 |
# HuggingFace models
|
| 30 |
"huggingface-hub>=0.16.0",
|
| 31 |
-
"pyannote.audio
|
| 32 |
|
| 33 |
# Audio processing
|
| 34 |
"librosa>=0.10.0",
|
|
|
|
| 23 |
"torch>=2.4.0",
|
| 24 |
"torchaudio>=2.4.0",
|
| 25 |
"transformers>=4.35.0",
|
| 26 |
+
"gradio>=6.2.0",
|
| 27 |
"spaces>=0.28.3", # HuggingFace ZeroGPU support
|
| 28 |
|
| 29 |
# HuggingFace models
|
| 30 |
"huggingface-hub>=0.16.0",
|
| 31 |
+
"pyannote.audio>=4.0.0",
|
| 32 |
|
| 33 |
# Audio processing
|
| 34 |
"librosa>=0.10.0",
|
requirements.txt
CHANGED
|
@@ -5,7 +5,7 @@ spaces>=0.28.3
|
|
| 5 |
torch>=2.4.0
|
| 6 |
torchaudio>=2.4.0
|
| 7 |
transformers>=4.35.0
|
| 8 |
-
gradio>=
|
| 9 |
|
| 10 |
# HuggingFace models
|
| 11 |
huggingface-hub>=0.16.0
|
|
|
|
| 5 |
torch>=2.4.0
|
| 6 |
torchaudio>=2.4.0
|
| 7 |
transformers>=4.35.0
|
| 8 |
+
gradio>=6.2.0
|
| 9 |
|
| 10 |
# HuggingFace models
|
| 11 |
huggingface-hub>=0.16.0
|