barreloflube
commited on
Commit
•
f7add52
1
Parent(s):
c6116e3
Refactor config.py to update CosyVoice TTS imports
Browse files
tabs/audios/load_models.py
CHANGED
@@ -15,12 +15,12 @@ def init_sys():
|
|
15 |
df_model, df_state, _ = init_df()
|
16 |
|
17 |
# Load CosyVoice
|
18 |
-
cosyvoice= CosyVoice('
|
19 |
|
20 |
-
cosyvoice_sft= CosyVoice('
|
21 |
sft_speakers= cosyvoice_sft.list_avaliable_spks()
|
22 |
|
23 |
-
cosyvoice_instruct= CosyVoice('
|
24 |
|
25 |
return device, df_model, df_state, cosyvoice, cosyvoice_sft, sft_speakers, cosyvoice_instruct
|
26 |
|
|
|
15 |
df_model, df_state, _ = init_df()
|
16 |
|
17 |
# Load CosyVoice
|
18 |
+
cosyvoice= CosyVoice('iic/CosyVoice-300M')
|
19 |
|
20 |
+
cosyvoice_sft= CosyVoice('iic/CosyVoice-300M-SFT')
|
21 |
sft_speakers= cosyvoice_sft.list_avaliable_spks()
|
22 |
|
23 |
+
cosyvoice_instruct= CosyVoice('iic/CosyVoice-300M-Instruct')
|
24 |
|
25 |
return device, df_model, df_state, cosyvoice, cosyvoice_sft, sft_speakers, cosyvoice_instruct
|
26 |
|