Spaces:
Sleeping
Sleeping
更新权重文件切换逻辑
Browse files- inference_webui.py +2 -2
inference_webui.py
CHANGED
|
@@ -248,8 +248,8 @@ def change_sovits_weights(sovits_path, prompt_language=None, text_language=None)
|
|
| 248 |
)
|
| 249 |
|
| 250 |
|
| 251 |
-
|
| 252 |
-
change_sovits_weights("pretrained_models/SoVITS_weights_v4/zoengjyutgaai_e2_s534_l32.pth")
|
| 253 |
|
| 254 |
|
| 255 |
def change_gpt_weights(gpt_path):
|
|
|
|
| 248 |
)
|
| 249 |
|
| 250 |
|
| 251 |
+
change_sovits_weights("pretrained_models/v2Pro/s2Gv2ProPlus.pth")
|
| 252 |
+
# change_sovits_weights("pretrained_models/SoVITS_weights_v4/zoengjyutgaai_e2_s534_l32.pth")
|
| 253 |
|
| 254 |
|
| 255 |
def change_gpt_weights(gpt_path):
|