Skip to content

Commit

Permalink
chore(format): run black on dev (#102)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 28, 2024
1 parent ef9db1f commit 89f7fa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion infer/lib/rtrvc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
2 changes: 1 addition & 1 deletion rvc/f0/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 89f7fa2

Please sign in to comment.