您好,老师,我在跑streaming.py文件时出现了以下报错,您能帮忙解决下吗?
(base) PS D:\Users\username\Desktop\asr_learn\03> python .\streaming.py
Traceback (most recent call last):
File "D:\Users\username\Desktop\asr_learn\03\streaming.py", line 21, in <module>
feat = ap.MelSpec(
File "D:\Users\username\Desktop\asr_learn\03\audio_processing.py", line 35, in __init__
self.stft_fn = STFT(filter_length=filter_length, hop_length=hop_length, win_length=win_length)
File "D:\Users\username\Desktop\asr_learn\03\stft.py", line 117, in __init__
fft_window = pad_center(fft_window, filter_length)
TypeError: pad_center() takes 1 positional argument but 2 were given