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

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

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-16 20:08:03 +09:00
committed by GitHub
parent d9a116f4f7
commit 9ee26d698a
3 changed files with 5 additions and 2 deletions

View File

@@ -445,7 +445,7 @@ class HParams:
def values(self):
return self.__dict__.values()
def copy(self):
return deepcopy(self)

View File

@@ -23,7 +23,9 @@ class FCPE(F0Predictor):
device,
)
from torchfcpe import spawn_bundled_infer_model # must be imported at here, or it will cause fairseq crash on training
from torchfcpe import (
spawn_bundled_infer_model,
) # must be imported at here, or it will cause fairseq crash on training
self.model = spawn_bundled_infer_model(self.device)

1
web.py
View File

@@ -72,6 +72,7 @@ if config.dml == True:
return res
import fairseq
fairseq.modules.grad_multiply.GradMultiply.forward = forward_dml
i18n = I18nAuto()