Spaces:
Runtime error
Runtime error
kevinwang676
commited on
Commit
•
f4470dc
1
Parent(s):
17d6678
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ def generate_audio(tts_text, mode_checkbox_group, sft_dropdown, prompt_text, pro
|
|
145 |
return (target_sr, audio_data)
|
146 |
|
147 |
|
148 |
-
cosyvoice = CosyVoice('
|
149 |
sft_spk = cosyvoice.list_avaliable_spks()
|
150 |
prompt_sr, target_sr = 16000, 22050
|
151 |
default_data = np.zeros(target_sr)
|
|
|
145 |
return (target_sr, audio_data)
|
146 |
|
147 |
|
148 |
+
cosyvoice = CosyVoice('pretrained_models/CosyVoice-300M-Instruct')
|
149 |
sft_spk = cosyvoice.list_avaliable_spks()
|
150 |
prompt_sr, target_sr = 16000, 22050
|
151 |
default_data = np.zeros(target_sr)
|