diff --git a/TTS/utils/audio/numpy_transforms.py b/TTS/utils/audio/numpy_transforms.py index 2aa6cce6..ae44472f 100644 --- a/TTS/utils/audio/numpy_transforms.py +++ b/TTS/utils/audio/numpy_transforms.py @@ -219,7 +219,7 @@ def istft( def griffin_lim(*, spec: np.ndarray = None, num_iter=60, **kwargs) -> np.ndarray: angles = np.exp(2j * np.pi * np.random.rand(*spec.shape)) - S_complex = np.abs(spec).astype(np.complex) + S_complex = np.abs(spec).astype(complex) y = istft(y=S_complex * angles, **kwargs) if not np.isfinite(y).all(): print(" [!] Waveform is not finite everywhere. Skipping the GL.") diff --git a/requirements.ja.txt b/requirements.ja.txt index 69061d6b..d6a04ca4 100644 --- a/requirements.ja.txt +++ b/requirements.ja.txt @@ -1,3 +1,4 @@ +# These cause some compatibility issues on some systems and are not strictly necessary # japanese g2p deps mecab-python3==1.0.6 unidic-lite==1.0.8