Spaces:
Running
on
Zero
Running
on
Zero
Update app.py (#5)
Browse files- Update app.py (80c7b82e04ea8caf46e3414041fb2f2d669e337c)
Co-authored-by: wang <[email protected]>
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
|