mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-09-29 17:10:02 +08:00
Merge 3a04e9adad5077315f7433bae23e59062d204f15 into fdf794e31d1fd6f91c5cb4fbb0396094491a31ac
This commit is contained in:
commit
21f4e1ff55
@ -544,8 +544,8 @@ class TTS:
|
||||
)
|
||||
self.configs.use_vocoder = True
|
||||
self.init_vocoder(model_version)
|
||||
if "pretrained" not in weights_path and hasattr(vits_model, "enc_q"):
|
||||
del vits_model.enc_q
|
||||
if "pretrained" not in weights_path and hasattr(vits_model, "enc_q"):
|
||||
del vits_model.enc_q
|
||||
|
||||
self.is_v2pro = model_version in {"v2Pro", "v2ProPlus"}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user