Spaces:
Sleeping
Sleeping
Commit
•
aee7b6b
1
Parent(s):
a6a9265
Fix bug in Colab and Space (#10)
Browse files- Fix bug in Colab and Space (d3bc359b6cc4bb175f9c707af3ed7beefc4fd8fb)
Co-authored-by: F <confusedenoch@users.noreply.huggingface.co>
- 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 |
|