mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-08-22 11:15:51 +08:00
修复v3推理传参问题
This commit is contained in:
parent
e0f2818df7
commit
7405427a0a
@ -304,6 +304,7 @@ def change_sovits_weights(sovits_path, prompt_language=None, text_language=None)
|
|||||||
)
|
)
|
||||||
model_version = version
|
model_version = version
|
||||||
else:
|
else:
|
||||||
|
hps.model.version=model_version
|
||||||
vq_model = SynthesizerTrnV3(
|
vq_model = SynthesizerTrnV3(
|
||||||
hps.data.filter_length // 2 + 1,
|
hps.data.filter_length // 2 + 1,
|
||||||
hps.train.segment_size // hps.data.hop_length,
|
hps.train.segment_size // hps.data.hop_length,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user