Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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"])
|