mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-10 10:09:51 +08:00
remove calling thing
This commit is contained in:
parent
03556dde7e
commit
38322dd4c7
@ -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))
|
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):
|
def change_gpt_weights(gpt_path):
|
||||||
print(f"the gpt model is updated! and the path is {gpt_path}")
|
print(f"the gpt model is updated! and the path is {gpt_path}")
|
||||||
global hz, max_sec, t2s_model, config
|
global hz, max_sec, t2s_model, config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user