Spaces:
Running
on
Zero
Running
on
Zero
Fix bug in Colab and Space
#10
by
confusedenoch
- opened
- vc_infer_pipeline.py +1 -1
vc_infer_pipeline.py
CHANGED
@@ -359,7 +359,7 @@ class VC(object):
|
|
359 |
) + 1
|
360 |
f0_mel[f0_mel <= 1] = 1
|
361 |
f0_mel[f0_mel > 255] = 255
|
362 |
-
f0_coarse = np.rint(f0_mel).astype(
|
363 |
|
364 |
return f0_coarse, f0bak # 1-0
|
365 |
|
|
|
359 |
) + 1
|
360 |
f0_mel[f0_mel <= 1] = 1
|
361 |
f0_mel[f0_mel > 255] = 255
|
362 |
+
f0_coarse = np.rint(f0_mel).astype(int)
|
363 |
|
364 |
return f0_coarse, f0bak # 1-0
|
365 |
|