Open lordsoffallen opened 2 months ago
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?
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?