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

chore(format): run black on dev (#40)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-12 14:55:48 +09:00
committed by GitHub
parent 54f7ae097d
commit b4f7bbbe39
3 changed files with 4 additions and 7 deletions

View File

@@ -62,9 +62,7 @@ class VC:
elif torch.backends.mps.is_available():
torch.mps.empty_cache()
###楼下不这么折腾清理不干净
self.net_g, self.cpt = get_synthesizer(
self.cpt, self.config.device
)
self.net_g, self.cpt = get_synthesizer(self.cpt, self.config.device)
self.if_f0 = self.cpt.get("f0", 1)
self.version = self.cpt.get("version", "v1")
del self.net_g, self.cpt