1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 09:10:25 +08:00

remove Unnecessary elif (#259)

This commit is contained in:
Ftps
2023-05-13 04:27:44 +09:00
committed by GitHub
parent ef016ae6a0
commit 3d8d0957e4

View File

@@ -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,