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

BUG - Generate function streams output #368

Open
lordsoffallen opened this issue Sep 30, 2024 · 0 comments
Open

BUG - Generate function streams output #368

lordsoffallen opened this issue Sep 30, 2024 · 0 comments

Comments

@lordsoffallen
Copy link

lordsoffallen commented Sep 30, 2024

According the code snippet here:
https://github.com/elevenlabs/elevenlabs-python/blob/main/src/elevenlabs/client.py#L225,

that should run only when stream=False but following that line leads to here:
https://github.com/elevenlabs/elevenlabs-python/blob/main/src/elevenlabs/text_to_speech/client.py#L122

which is where we client is being called via streaming endpoint and it actually yields, doesn't return.

Must be bug in the code, as I expect that function to not stream but return the full output. Am I missing something here?

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