Merge pull request #119 from Ph0rk0z/rvc-numpy

Make RVC work on numpy 1.24
This commit is contained in:
Cohee
2023-08-13 17:36:23 +03:00
committed by GitHub

View File

@@ -115,7 +115,7 @@ class VC(object):
) + 1
f0_mel[f0_mel <= 1] = 1
f0_mel[f0_mel > 255] = 255
f0_coarse = np.rint(f0_mel).astype(np.int)
f0_coarse = np.rint(f0_mel).astype(int)
return f0_coarse, f0bak # 1-0
def vc(