Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#5
by
duduke39
- opened
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,
|
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
|