diff --git a/vc_infer_pipeline.py b/vc_infer_pipeline.py index 1d9313b..c950382 100644 --- a/vc_infer_pipeline.py +++ b/vc_infer_pipeline.py @@ -49,7 +49,7 @@ class VC(object): f0 = np.pad( f0, [[pad_size, p_len - len(f0) - pad_size]], mode="constant" ) - elif f0_method == "harvest": + else: f0, t = pyworld.harvest( x.astype(np.double), fs=self.sr,