Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ print('load model 2')
41
  # )
42
 
43
  @spaces.GPU
44
- def tts_inference(model_choice, text, preset_audio_choice, prompt_audio):
45
  # 选择模型和默认音频
46
  if model_choice == "CosyVoice2-Yue-ZoengJyutGaai":
47
  model = cosyvoice_zjg
 
41
  # )
42
 
43
  @spaces.GPU
44
+ def tts_inference(model_choice, text, preset_audio_choice, custom_audio):
45
  # 选择模型和默认音频
46
  if model_choice == "CosyVoice2-Yue-ZoengJyutGaai":
47
  model = cosyvoice_zjg