confusedenoch commited on
Commit
d3bc359
1 Parent(s): a6a9265

Fix bug in Colab and Space

Browse files
Files changed (1) hide show
  1. 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(np.int)
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