Spaces:
Running
on
Zero
Running
on
Zero
no message
Browse files
webui.py
CHANGED
@@ -173,8 +173,8 @@ def get_cosyvoice():
|
|
173 |
@spaces.GPU
|
174 |
def load_sft_options():
|
175 |
sound_choices=get_cosyvoice().list_avaliable_spks()
|
176 |
-
|
177 |
-
return
|
178 |
|
179 |
|
180 |
prompt_sr, target_sr = 16000, 22050
|
|
|
173 |
@spaces.GPU
|
174 |
def load_sft_options():
|
175 |
sound_choices=get_cosyvoice().list_avaliable_spks()
|
176 |
+
sound_choices_tuples = [(choice, choice) for choice in sound_choices]
|
177 |
+
return sound_choices_tuples
|
178 |
|
179 |
|
180 |
prompt_sr, target_sr = 16000, 22050
|