mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-01 12:35:04 +08:00
remove Unnecessary elif (#259)
This commit is contained in:
parent
ef016ae6a0
commit
3d8d0957e4
@ -49,7 +49,7 @@ class VC(object):
|
|||||||
f0 = np.pad(
|
f0 = np.pad(
|
||||||
f0, [[pad_size, p_len - len(f0) - pad_size]], mode="constant"
|
f0, [[pad_size, p_len - len(f0) - pad_size]], mode="constant"
|
||||||
)
|
)
|
||||||
elif f0_method == "harvest":
|
else:
|
||||||
f0, t = pyworld.harvest(
|
f0, t = pyworld.harvest(
|
||||||
x.astype(np.double),
|
x.astype(np.double),
|
||||||
fs=self.sr,
|
fs=self.sr,
|
||||||
|
Loading…
Reference in New Issue
Block a user