修复v3推理传参问题

This commit is contained in:
RVC-Boss 2025-04-22 00:16:07 +08:00 committed by GitHub
parent e0f2818df7
commit 7405427a0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -304,6 +304,7 @@ def change_sovits_weights(sovits_path, prompt_language=None, text_language=None)
)
model_version = version
else:
hps.model.version=model_version
vq_model = SynthesizerTrnV3(
hps.data.filter_length // 2 + 1,
hps.train.segment_size // hps.data.hop_length,