You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a built-in way of issuing multiple concurrent requests (specifically, for TTS)?
My use case is as follows: I want to use TTS to convert text into audio, but since it's a long string I'd like to split it up into chunks of 5000 chars each and convert them concurrently (in order to save time).
In AWS' SDK, I use CommandPool, which makes this very easy (example).
Furrhermore, AWS' SDK will also retry any failed attempts, so all I had to do to implement AWS Polly (their version of TTS) is as follows:
👋
Is there a built-in way of issuing multiple concurrent requests (specifically, for TTS)?
My use case is as follows: I want to use TTS to convert text into audio, but since it's a long string I'd like to split it up into chunks of 5000 chars each and convert them concurrently (in order to save time).
In AWS' SDK, I use
CommandPool
, which makes this very easy (example).Furrhermore, AWS' SDK will also retry any failed attempts, so all I had to do to implement AWS Polly (their version of TTS) is as follows:
Can I do this with your SDK?
The text was updated successfully, but these errors were encountered: