Modified SpeechT5 TTS has large gaps in Spectrogram

Hello All,

I modified the SpeechT5 model to create a TTS. It works fine, except that it arbitrarily limits how much text can be converted to speech. This is evident in the large gaps in the spectrogram. There is no apparent set limit, it simply omitspart of the expected utterance. Is there a way to correct this behaviour?

Best,
Andre