1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-18 01:40:25 +08:00

chore(format): run black on dev

This commit is contained in:
github-actions[bot]
2026-04-18 11:04:30 +00:00
parent f9ae0b5d32
commit d56c03eb74
3 changed files with 11 additions and 4 deletions

View File

@@ -213,6 +213,7 @@ class PosteriorEncoder(nn.Module):
def __prepare_scriptable__(self):
from torch.nn.utils import parametrize
if parametrize.is_parametrized(self.enc, "weight"):
parametrize.remove_parametrizations(self.enc, "weight")
return self