mirror of
https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git
synced 2026-06-08 12:00:49 +08:00
chore(format): run black on dev (#55)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
c51a73f521
commit
ed8a0c3e34
@@ -36,6 +36,7 @@ def rmvpe_jit_export(
|
||||
save_pickle(ckpt, save_path)
|
||||
return ckpt
|
||||
|
||||
|
||||
class RMVPE(F0Predictor):
|
||||
def __init__(
|
||||
self,
|
||||
@@ -80,6 +81,7 @@ class RMVPE(F0Predictor):
|
||||
providers=["DmlExecutionProvider"],
|
||||
)
|
||||
else:
|
||||
|
||||
def rmvpe_jit_model():
|
||||
ckpt = get_jit_model(model_path, is_half, self.device, rmvpe_jit_export)
|
||||
model = torch.jit.load(BytesIO(ckpt["model"]), map_location=self.device)
|
||||
|
||||
Reference in New Issue
Block a user