1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 17:20:25 +08:00

fix(config): restrict CPUConfig

This commit is contained in:
源文雨
2024-06-04 21:39:56 +09:00
parent 8ed0dec181
commit 84d9d9a2bc
2 changed files with 3 additions and 6 deletions

View File

@@ -136,7 +136,7 @@ def model_hash_ckpt(cpt):
with TorchSeedContext(114514):
tgt_sr = cpt["config"][-1]
if_f0 = cpt.get("f0", 1)
if_f0 = 0
version = cpt.get("version", "v1")
synthesizer_class = {
("v1", 1): SynthesizerTrnMs256NSFsid,