mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-07-15 04:41:07 +08:00
Merge fb58b81040da59c5962bdbd20a49f1c9b274a76a into 4839e8214862808bea45b86c7c26ff643b0175ee
This commit is contained in:
commit
bdce43d0d0
@ -542,8 +542,8 @@ class TTS:
|
|||||||
)
|
)
|
||||||
self.configs.use_vocoder = True
|
self.configs.use_vocoder = True
|
||||||
self.init_vocoder(model_version)
|
self.init_vocoder(model_version)
|
||||||
if "pretrained" not in weights_path and hasattr(vits_model, "enc_q"):
|
if "pretrained" not in weights_path and hasattr(vits_model, "enc_q"):
|
||||||
del vits_model.enc_q
|
del vits_model.enc_q
|
||||||
|
|
||||||
self.is_v2pro = model_version in {"v2Pro", "v2ProPlus"}
|
self.is_v2pro = model_version in {"v2Pro", "v2ProPlus"}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user