Ailyth commited on
Commit
f83e4e8
β€’
1 Parent(s): c4b28b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -226,8 +226,7 @@ def update_model(choice):
226
  model_info = models[choice]
227
  gpt_path = abs_path(model_info["gpt_weight"])
228
  sovits_path = abs_path(model_info["sovits_weight"])
229
- tts_pipline.init_vits_weights(sovits_path)
230
- tts_pipline.init_t2s_weights(gpt_path)
231
  model_name = choice
232
  tone_info = model_info["tones"]["tone1"]
233
  tone_sample_path = abs_path(tone_info["sample"])
 
226
  model_info = models[choice]
227
  gpt_path = abs_path(model_info["gpt_weight"])
228
  sovits_path = abs_path(model_info["sovits_weight"])
229
+
 
230
  model_name = choice
231
  tone_info = model_info["tones"]["tone1"]
232
  tone_sample_path = abs_path(tone_info["sample"])