Spaces:
Running
Running
change numpy int
Browse files- vc_infer_pipeline.py +1 -1
vc_infer_pipeline.py
CHANGED
@@ -158,7 +158,7 @@ class VC(object):
|
|
158 |
) + 1
|
159 |
f0_mel[f0_mel <= 1] = 1
|
160 |
f0_mel[f0_mel > 255] = 255
|
161 |
-
f0_coarse = np.rint(f0_mel).astype(np.int
|
162 |
return f0_coarse, f0bak # 1-0
|
163 |
|
164 |
def vc(
|
|
|
158 |
) + 1
|
159 |
f0_mel[f0_mel <= 1] = 1
|
160 |
f0_mel[f0_mel > 255] = 255
|
161 |
+
f0_coarse = np.rint(f0_mel).astype(int) # change np.int
|
162 |
return f0_coarse, f0bak # 1-0
|
163 |
|
164 |
def vc(
|