Skip to content

Commit 89f7fa2

Browse files
chore(format): run black on dev (#102)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent ef9db1f commit 89f7fa2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

infer/lib/rtrvc.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ def forward_dml(ctx, x, scale):
6666

6767
self.resample_kernel = {}
6868

69-
self.f0_gen = Generator(Path(os.environ["rmvpe_root"]), is_half, 0, device, self.window, self.sr)
69+
self.f0_gen = Generator(
70+
Path(os.environ["rmvpe_root"]), is_half, 0, device, self.window, self.sr
71+
)
7072

7173
models, _, _ = fairseq.checkpoint_utils.load_model_ensemble_and_task(
7274
["assets/hubert/hubert_base.pt"],

rvc/f0/gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@jit(nopython=True)
1111
def post_process(
12-
tf0: int, # 每秒f0点数
12+
tf0: int, # 每秒f0点数
1313
f0: np.ndarray,
1414
f0_up_key: int,
1515
manual_x_pad: int,

0 commit comments

Comments
 (0)