修复v3传参 (#2309)

This commit is contained in:
ChasonJiang 2025-04-22 10:10:44 +08:00 committed by GitHub
parent 590c83d766
commit a19f49604f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -507,7 +507,7 @@ class TTS:
)
self.configs.use_vocoder = False
else:
kwargs["model"]["version"]=model_version
kwargs["version"]=model_version
vits_model = SynthesizerTrnV3(
self.configs.filter_length // 2 + 1,
self.configs.segment_size // self.configs.hop_length,