From 38322dd4c7603bd8108fe211df0b34474ee76451 Mon Sep 17 00:00:00 2001 From: samiabat Date: Wed, 9 Jul 2025 03:57:22 +0300 Subject: [PATCH] remove calling thing --- GPT_SoVITS/inference_webui.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/GPT_SoVITS/inference_webui.py b/GPT_SoVITS/inference_webui.py index 425f938d..a6c0d914 100644 --- a/GPT_SoVITS/inference_webui.py +++ b/GPT_SoVITS/inference_webui.py @@ -306,9 +306,6 @@ def change_sovits_weights(sovits_path,prompt_language=None,text_language=None, c with open("./weight.json","w")as f:f.write(json.dumps(data)) -try:next(change_sovits_weights(sovits_path)) -except:pass - def change_gpt_weights(gpt_path): print(f"the gpt model is updated! and the path is {gpt_path}") global hz, max_sec, t2s_model, config