support sovits v2Pro v2ProPlus

support sovits v2Pro v2ProPlus
This commit is contained in:
RVC-Boss 2025-06-04 15:17:05 +08:00 committed by GitHub
parent 921ac6c41a
commit e920b31840
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ class Text2SemanticLightningModule(LightningModule):
self.load_state_dict(
torch.load(
pretrained_s1,
map_location="cpu",
map_location="cpu", weights_only=False,
)["weight"],
)
)