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
From what I have observed if my input value is long enough (around 425 characters). I will get a 400 response and no audio is generated when stream is set to false.
If stream is not set to false I get a 200 response but no audio is generated
"steam": false
"stream":true
The text was updated successfully, but these errors were encountered:
The issue occurs when there is long bits of unpunctuated text, or long breaks between punctuation. The chunker.split_text() only seems to split text at punctuation. If there is no punctuation for a certain amount of characters, I think it should just yield a chunk to prevent the overflow error.
Examples:
No punctuation (no chunks):
Add 1 comma (Audio stops at the comma and overflows the rest)
Add 2 commas (Audio stops after the last comma and overflows the rest)
From what I have observed if my input value is long enough (around 425 characters). I will get a 400 response and no audio is generated when stream is set to false.
If stream is not set to false I get a 200 response but no audio is generated
"steam": false
"stream":true
The text was updated successfully, but these errors were encountered: