mirror of https://github.com/coqui-ai/TTS.git
update extract_tts_spectrogram for `cond_input` API of the models
This commit is contained in:
parent
667bb708b6
commit
88d8a94a10
|
@ -140,7 +140,6 @@ def inference(
|
||||||
speaker_embeddings=None,
|
speaker_embeddings=None,
|
||||||
):
|
):
|
||||||
if model_name == "glow_tts":
|
if model_name == "glow_tts":
|
||||||
# mel_input = mel_input.permute(0, 2, 1) # B x D x T
|
|
||||||
speaker_c = None
|
speaker_c = None
|
||||||
if speaker_ids is not None:
|
if speaker_ids is not None:
|
||||||
speaker_c = speaker_ids
|
speaker_c = speaker_ids
|
||||||
|
|
Loading…
Reference in New Issue