mirror of https://github.com/coqui-ai/TTS.git
Please p3.11
This commit is contained in:
parent
69f080eb47
commit
17ddd65741
|
@ -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.")
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue