Closed ShawnHymel closed 3 weeks ago
Wow...oops. I'm mixing my TTS engines. I was using Coqui TTS before transitioning over to Piper, and it looks like my code is still calling the Coqui engine. Single-word sentences work with Piper. Closing the issue.
I'm trying to convert LLM replies to sound via Piper TTS. The call sometimes fails with:
The best I can tell, the model needs sentences longer than 2 words, or it throws this error. For example, I ask the LLM for a joke, and it returns the following that's split into 3 sentences.
I'm using the en_US-lessac-medium model.
Any ideas on how to fix this? I'm assuming that I can force the LLM to give me 3+ word sentences and/or check the sentences manually in Python, but I have to imagine that a TTS engine should be able to handle 1-word sentences.