1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-07 10:10:23 +08:00

feat:(vc.info): add similarity in vc

This commit is contained in:
源文雨
2024-06-04 22:03:05 +09:00
parent 84d9d9a2bc
commit 7866e776c2
2 changed files with 7 additions and 11 deletions

View File

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