update extract_tts_spectrogram for cond_input API of the models

This commit is contained in:
Eren Gölge
2021-06-28 17:03:19 +02:00
parent 5ab28fa618
commit 469d2e620a
-1
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