1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

chore(format): run black on dev (#102)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-11-29 00:36:19 +09:00
committed by GitHub
parent ef9db1fd44
commit 89f7fa25cc
2 changed files with 4 additions and 2 deletions

View File

@@ -66,7 +66,9 @@ class RVC:
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"],

View File

@@ -9,7 +9,7 @@ import torch
@jit(nopython=True)
def post_process(
tf0: int, # 每秒f0点数
tf0: int, # 每秒f0点数
f0: np.ndarray,
f0_up_key: int,
manual_x_pad: int,