tanbw commited on
Commit
89d73c2
1 Parent(s): c713070

Update webui.py

Browse files
Files changed (1) hide show
  1. webui.py +2 -1
webui.py CHANGED
@@ -183,7 +183,8 @@ def get_cosyvoice():
183
  else:
184
  cosyvoice_instance=CosyVoice(model_dir)
185
  return cosyvoice_instance
186
-
 
187
  def load_sft_options():
188
  sound_choices=get_cosyvoice().list_avaliable_spks()
189
  sound_choices_tuples = [(choice, choice) for choice in sound_choices]
 
183
  else:
184
  cosyvoice_instance=CosyVoice(model_dir)
185
  return cosyvoice_instance
186
+
187
+ @spaces.GPU
188
  def load_sft_options():
189
  sound_choices=get_cosyvoice().list_avaliable_spks()
190
  sound_choices_tuples = [(choice, choice) for choice in sound_choices]