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,