mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-01 12:35:04 +08:00
Update process_ckpt.py
This commit is contained in:
parent
541837eb0f
commit
27c7e3f6a3
@ -41,7 +41,7 @@ def extract_small_model(path,name,sr,if_f0,info):
|
||||
if(info==""):info="Extracted model."
|
||||
opt["info"] = info
|
||||
opt["sr"] = sr
|
||||
opt["f0"] =if_f0
|
||||
opt["f0"] =int(if_f0)
|
||||
torch.save(opt, "weights/%s.pth"%name)
|
||||
return "Success."
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user