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

Add chunk_size to (a)iter_bytes #369

Closed
wants to merge 2 commits into from
Closed

Conversation

tonyay163
Copy link

Fixes #366

The issue is because the server now supports gzip responses and the client is allowing gzip as an encoding. This is a problem because people might want to stream the audio and if the chunk is too small or an odd number, it's not a valid audio chunk

@tonyay163 tonyay163 closed this Dec 9, 2024
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

Successfully merging this pull request may close these issues.

I think chunk_size is missed in src/elevenlabs/text_to_speech/client.py line 731
1 participant