diff --git a/openvoice/commons.py b/openvoice/commons.py index d3fa07f6..790b548f 100644 --- a/openvoice/commons.py +++ b/openvoice/commons.py @@ -13,12 +13,6 @@ def get_padding(kernel_size, dilation=1): return int((kernel_size * dilation - dilation) / 2) -def convert_pad_shape(pad_shape): - layer = pad_shape[::-1] - pad_shape = [item for sublist in layer for item in sublist] - return pad_shape - - def intersperse(lst, item): result = [item] * (len(lst) * 2 + 1) result[1::2] = lst