From 89f7fa25cc94c7cb1feb898266e859c76ad1ce86 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 Nov 2024 00:36:19 +0900 Subject: [PATCH] chore(format): run black on dev (#102) Co-authored-by: github-actions[bot] --- infer/lib/rtrvc.py | 4 +++- rvc/f0/gen.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/infer/lib/rtrvc.py b/infer/lib/rtrvc.py index ee39c17..7e2e9ad 100644 --- a/infer/lib/rtrvc.py +++ b/infer/lib/rtrvc.py @@ -66,7 +66,9 @@ def forward_dml(ctx, x, scale): self.resample_kernel = {} - self.f0_gen = Generator(Path(os.environ["rmvpe_root"]), is_half, 0, device, self.window, self.sr) + self.f0_gen = Generator( + Path(os.environ["rmvpe_root"]), is_half, 0, device, self.window, self.sr + ) models, _, _ = fairseq.checkpoint_utils.load_model_ensemble_and_task( ["assets/hubert/hubert_base.pt"], diff --git a/rvc/f0/gen.py b/rvc/f0/gen.py index 6e5f7e2..500a2f0 100644 --- a/rvc/f0/gen.py +++ b/rvc/f0/gen.py @@ -9,7 +9,7 @@ @jit(nopython=True) def post_process( - tf0: int, # 每秒f0点数 + tf0: int, # 每秒f0点数 f0: np.ndarray, f0_up_key: int, manual_x_pad: int,