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:
committed by
GitHub
parent
ef9db1fd44
commit
89f7fa25cc
@@ -66,7 +66,9 @@ class RVC:
|
|||||||
|
|
||||||
self.resample_kernel = {}
|
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(
|
models, _, _ = fairseq.checkpoint_utils.load_model_ensemble_and_task(
|
||||||
["assets/hubert/hubert_base.pt"],
|
["assets/hubert/hubert_base.pt"],
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import torch
|
|||||||
|
|
||||||
@jit(nopython=True)
|
@jit(nopython=True)
|
||||||
def post_process(
|
def post_process(
|
||||||
tf0: int, # 每秒f0点数
|
tf0: int, # 每秒f0点数
|
||||||
f0: np.ndarray,
|
f0: np.ndarray,
|
||||||
f0_up_key: int,
|
f0_up_key: int,
|
||||||
manual_x_pad: int,
|
manual_x_pad: int,
|
||||||
|
|||||||
Reference in New Issue
Block a user