add type declarations
This commit is contained in:
@@ -18,8 +18,7 @@ import torch.nn.functional as F
|
||||
import torchcrepe
|
||||
from scipy import signal
|
||||
|
||||
now_dir = os.getcwd()
|
||||
sys.path.append(now_dir)
|
||||
logger: logging.Logger = logging.getLogger(__name__)
|
||||
|
||||
bh, ah = signal.butter(N=5, Wn=48, btype="high", fs=16000)
|
||||
|
||||
@@ -300,7 +299,8 @@ class Pipeline(object):
|
||||
f0_file=None,
|
||||
):
|
||||
if (
|
||||
file_index != ""
|
||||
file_index
|
||||
and file_index != ""
|
||||
# and file_big_npy != ""
|
||||
# and os.path.exists(file_big_npy) == True
|
||||
and os.path.exists(file_index)
|
||||
|
||||
Reference in New Issue
Block a user