mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-07 15:33:29 +08:00
add edit option
This commit is contained in:
parent
39e77a61ac
commit
2b079fc3f1
@ -308,6 +308,7 @@ try:next(change_sovits_weights(sovits_path))
|
|||||||
except:pass
|
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}")
|
||||||
global hz, max_sec, t2s_model, config
|
global hz, max_sec, t2s_model, config
|
||||||
hz = 50
|
hz = 50
|
||||||
dict_s1 = torch.load(gpt_path, map_location="cpu")
|
dict_s1 = torch.load(gpt_path, map_location="cpu")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user