Format code (#877)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-07-26 19:51:48 +08:00
committed by GitHub
parent b1cb31854a
commit f7fc51c81a
5 changed files with 126 additions and 96 deletions

View File

@@ -79,9 +79,7 @@ class FeatureInput(object):
from lib.rmvpe import RMVPE
print("loading rmvpe model")
self.model_rmvpe = RMVPE(
"rmvpe.pt", is_half=False, device="cpu"
)
self.model_rmvpe = RMVPE("rmvpe.pt", is_half=False, device="cpu")
f0 = self.model_rmvpe.infer_from_audio(x, thred=0.03)
return f0