From 3d8d0957e4e8bcc5d8923680341e53207eeff232 Mon Sep 17 00:00:00 2001 From: Ftps <63702646+Tps-F@users.noreply.github.com> Date: Sat, 13 May 2023 04:27:44 +0900 Subject: [PATCH] remove Unnecessary elif (#259) --- vc_infer_pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,