Skip to content

Commit 96f7bcc

Browse files
chore(format): run black on dev (#136)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 43d19eb commit 96f7bcc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

infer/modules/train/extract_f0_print.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def printt(strr):
4040
is_half = sys.argv[5] == "True"
4141

4242
if importlib.util.find_spec("torch_directml") is not None:
43-
import torch_directml # use side effect
43+
import torch_directml # use side effect
44+
4445

4546
class FeatureInput(object):
4647
def __init__(self, is_half: bool, device="cpu", samplerate=16000, hop_size=160):

rvc/layers/synthesizers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def forward(
164164
)
165165
if pitchf is not None and isinstance(self.dec, NSFGenerator):
166166
pitchf = slice_on_last_dim(pitchf, ids_slice, self.segment_size)
167-
o = self.dec(z_slice, pitchf, g=embg) # type: ignore
167+
o = self.dec(z_slice, pitchf, g=embg) # type: ignore
168168
elif isinstance(self.dec, Generator):
169169
o = self.dec(z_slice, g=embg)
170170
else:
@@ -204,7 +204,7 @@ def infer(
204204
z = self.flow(z_p, x_mask, g=g, reverse=True)
205205
del z_p, m_p, logs_p
206206
if pitchf is not None and isinstance(self.dec, NSFGenerator):
207-
o = self.dec(
207+
o = self.dec(
208208
z * x_mask,
209209
pitchf,
210210
g=g,

0 commit comments

Comments
 (0)