C4G-HKUST commited on
Commit
5cb609b
·
1 Parent(s): 7569450

Fix Gradio version and launch config: downgrade to 5.0.x, remove show_api parameter

Browse files
Files changed (2) hide show
  1. app.py +1 -2
  2. requirements.txt +1 -1
app.py CHANGED
@@ -709,8 +709,7 @@ def run_graio_demo(args):
709
  )
710
  # 参考 Meigen-MultiTalk 的成功配置
711
  # 在 Hugging Face Spaces 上,Gradio 会自动处理端口和服务器配置
712
- # 参考 Meigen-MultiTalk 的启动方式
713
- demo.queue(max_size=4).launch(show_error=True, show_api=False)
714
 
715
 
716
 
 
709
  )
710
  # 参考 Meigen-MultiTalk 的成功配置
711
  # 在 Hugging Face Spaces 上,Gradio 会自动处理端口和服务器配置
712
+ demo.queue(max_size=4).launch(show_error=True)
 
713
 
714
 
715
 
requirements.txt CHANGED
@@ -23,7 +23,7 @@ librosa==0.11.0
23
  torchaudio==2.6.0
24
  audio-separator==0.30.2
25
  onnxruntime-gpu==1.22.0
26
- gradio==5.42.0
27
  insightface==0.7.3
28
  transformers==4.52.0
29
  huggingface_hub
 
23
  torchaudio==2.6.0
24
  audio-separator==0.30.2
25
  onnxruntime-gpu==1.22.0
26
+ gradio>=5.0.0,<5.1.0
27
  insightface==0.7.3
28
  transformers==4.52.0
29
  huggingface_hub