langgz commited on
Commit
b960faf
·
verified ·
1 Parent(s): 19d75a6

build: use compatible Gradio and CPU-only Torch

Browse files

Upgrade the Space SDK to Gradio 5.50.0 so Video schemas work with the public API. Pin matching CPU-only Torch/Torchaudio wheels and remove unused direct dependencies to avoid CUDA downloads on cpu-basic.

Files changed (2) hide show
  1. README.md +1 -1
  2. requirements.txt +7 -9
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: ✂️
4
  colorFrom: red
5
  colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: true
10
  license: mit
 
4
  colorFrom: red
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 5.50.0
8
  app_file: app.py
9
  pinned: true
10
  license: mit
requirements.txt CHANGED
@@ -1,10 +1,8 @@
1
- torch
2
- torchaudio
3
- funasr>=1.2.0
4
- modelscope
5
- huggingface_hub
6
- moviepy
7
- gradio
8
  numpy<2.0
9
- librosa
10
- soundfile
 
1
+ --extra-index-url https://download.pytorch.org/whl/cpu
2
+
3
+ torch==2.11.0+cpu
4
+ torchaudio==2.11.0+cpu
5
+ funasr==1.3.14
6
+ huggingface_hub>=0.33.5,<2.0
7
+ gradio==5.50.0
8
  numpy<2.0