mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2026-07-13 19:41:10 +08:00
Compare commits
2 Commits
bdce43d0d0
...
5a727e86c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a727e86c7 | ||
|
|
fb58b81040 |
@ -542,8 +542,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