mirror of https://github.com/coqui-ai/TTS.git
remove stft params causing warning
This commit is contained in:
parent
4998ece8d8
commit
6ee211c137
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue