How to convert a larger sentence or multiple sentences into a single audio?

#11
by kishcs - opened

When I try convert multiple sentences to an audio file, it chops it upto 8-9 seconds only. How do I increase the length of the audio ?

I think setting max_new_tokens would help. Will try that.

Maya Research org

Adding to setting max_new_tokens to a larger number(support depends on GPU, can set to 2048, 4096, 8192), you can always implement your own Continual Streaming. That way you can generate audio books, podcasts length content. Also pro-tip : Try inferencing with https://docs.vllm.ai/en/latest

I think setting max_new_tokens would help. Will try that.

did it help? facing similar issue have multiple files to be converted into audio .. batching the sentence to match 8 sec of content ~300 char clips many sentence

Sign up or log in to comment