update extract_tts_spectrogram for `cond_input` API of the models

pull/602/head
Eren Gölge 2021-05-31 15:35:26 +02:00
parent 667bb708b6
commit 88d8a94a10
1 changed files with 0 additions and 1 deletions

View File

@ -140,7 +140,6 @@ def inference(
speaker_embeddings=None,
):
if model_name == "glow_tts":
# mel_input = mel_input.permute(0, 2, 1) # B x D x T
speaker_c = None
if speaker_ids is not None:
speaker_c = speaker_ids