Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

riva can't handle multiple sentences #1

Closed
kfatehi opened this issue Apr 29, 2023 · 2 comments
Closed

riva can't handle multiple sentences #1

kfatehi opened this issue Apr 29, 2023 · 2 comments

Comments

@kfatehi
Copy link
Owner

kfatehi commented Apr 29, 2023

the readaloud project makes effort to clean up input, but riva can't handle this input without throwing an error, why?

image

@kfatehi
Copy link
Owner Author

kfatehi commented Apr 29, 2023

the answer is in the riva container log. basically it doesn't like sentences.

E0429 19:38:13.568981 102 tts-preprocessor.cc:96] preprocessor had an errorSSML Input does not currently support split on sentence. Input text too long.The text-to-speech TTS pipeline implemented for the Riva TTS service is based on a two-stage pipeline. Riva first generates a mel-spectrogram using the first model, and then generates speech using the second model. This pipeline forms a TTS system that enables you to synthesize natural sounding speech from raw transcripts without any additional information such as patterns or rhythms of speech.

@kfatehi
Copy link
Owner Author

kfatehi commented Apr 29, 2023

solved by tokenizing sentences using nltk

@kfatehi kfatehi closed this as completed Apr 29, 2023
@kfatehi kfatehi changed the title riva fails with certain inputs riva can't handle multiple sentences Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant