Skip to content

Commit 9ee26d6

Browse files
chore(format): run black on dev (#60)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d9a116f commit 9ee26d6

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

infer/lib/train/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def items(self):
445445

446446
def values(self):
447447
return self.__dict__.values()
448-
448+
449449
def copy(self):
450450
return deepcopy(self)
451451

rvc/f0/fcpe.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ def __init__(
2323
device,
2424
)
2525

26-
from torchfcpe import spawn_bundled_infer_model # must be imported at here, or it will cause fairseq crash on training
26+
from torchfcpe import (
27+
spawn_bundled_infer_model,
28+
) # must be imported at here, or it will cause fairseq crash on training
2729

2830
self.model = spawn_bundled_infer_model(self.device)
2931

web.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def forward_dml(ctx, x, scale):
7272
return res
7373

7474
import fairseq
75+
7576
fairseq.modules.grad_multiply.GradMultiply.forward = forward_dml
7677

7778
i18n = I18nAuto()

0 commit comments

Comments
 (0)