From 6ee211c13775b83bf837171336995893921c798e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eren=20G=C3=B6lge?= Date: Thu, 8 Apr 2021 11:12:59 +0200 Subject: [PATCH] remove stft params causing warning --- TTS/utils/audio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TTS/utils/audio.py b/TTS/utils/audio.py index 75afaeb0..fa4b4a53 100644 --- a/TTS/utils/audio.py +++ b/TTS/utils/audio.py @@ -313,7 +313,7 @@ class AudioProcessor(object): pad_mode=self.stft_pad_mode, window='hann', center=True, - dtype=None) + ) def _istft(self, y): return librosa.istft(y, @@ -321,7 +321,7 @@ class AudioProcessor(object): win_length=self.win_length, window='hann', center=True, - dtype=None) + ) def _griffin_lim(self, S): angles = np.exp(2j * np.pi * np.random.rand(*S.shape))