mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-07 19:40:44 +08:00
chore(format): run black on dev (#40)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
54f7ae097d
commit
b4f7bbbe39
@@ -262,9 +262,7 @@ def apply_mask(self, x, padding_mask, target_list):
|
||||
return x, mask_indices
|
||||
|
||||
|
||||
def get_hubert(
|
||||
model_path="assets/hubert/hubert_base.pt", device=torch.device("cpu")
|
||||
):
|
||||
def get_hubert(model_path="assets/hubert/hubert_base.pt", device=torch.device("cpu")):
|
||||
models, _, _ = load_model_ensemble_and_task(
|
||||
[model_path],
|
||||
suffix="",
|
||||
|
||||
Reference in New Issue
Block a user