cartesia-ai / cartesia-python

The official Python library for the Cartesia API
https://pypi.org/project/cartesia/
MIT License
30 stars 4 forks source link

[TTS Client] Updating TTS Client to stream JSON and not octet #8

Closed chongzluong closed 6 months ago

chongzluong commented 6 months ago

Updating the generate function of the CartesiaTTS Client to expect JSON not Octet from /stream/.

Will work in prod once https://github.com/cartesia-ai/bifrost/pull/41 is merged.

To test, once https://github.com/cartesia-ai/bifrost/pull/41 is merged you should be able to test this locally. I used a TG-01 server and the Python shell (see the testing section of the other PR).