tanbw commited on
Commit
a7fa527
1 Parent(s): d8183f8

no message

Browse files
Files changed (1) hide show
  1. webui.py +2 -2
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
- sound_choices_dict = {k:v for k, v in zip(sound_choices, sound_choices)}
177
- return sound_choices_dict
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