Update rvc_for_realtime.py
This commit is contained in:
parent
0f9d2e6cac
commit
cd1d76aac2
@ -187,8 +187,8 @@ class RVC:
|
||||
if (hasattr(self, "model_rmvpe") == False):
|
||||
from rmvpe import RMVPE
|
||||
print("loading rmvpe model")
|
||||
# self.model_rmvpe = RMVPE("rmvpe.pt", is_half=self.is_half, device=self.device)
|
||||
self.model_rmvpe = RMVPE("aug2_58000_half.pt", is_half=self.is_half, device=self.device)
|
||||
self.model_rmvpe = RMVPE("rmvpe.pt", is_half=self.is_half, device=self.device)
|
||||
# self.model_rmvpe = RMVPE("aug2_58000_half.pt", is_half=self.is_half, device=self.device)
|
||||
f0 = self.model_rmvpe.infer_from_audio(x, thred=0.03)
|
||||
f0 *= pow(2, f0_up_key / 12)
|
||||
return self.get_f0_post(f0)
|
||||
|
Loading…
Reference in New Issue
Block a user