add edit option

This commit is contained in:
samiabat 2025-07-09 02:25:44 +03:00
parent 39e77a61ac
commit 2b079fc3f1

View File

@ -308,6 +308,7 @@ 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
hz = 50
dict_s1 = torch.load(gpt_path, map_location="cpu")