-
Notifications
You must be signed in to change notification settings - Fork 4
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] Type is not msgpack serializable: TTSRequest #5
Comments
It does not work in version 2024.11.28 either. |
Thanks |
abersheeran
changed the title
Unable to Use SDK for TTS
[BUG] Type is not msgpack serializable: TTSRequest
Nov 29, 2024
The ormsgpack is still at version 1.6.0. If you are using pydantic >= 2.10.0, you can temporarily replace TTSRequest with a dict.It's work. for chunk in self.session.tts(dict(text=text, reference_id=voice_id, format=audio_format)):
f.write(chunk)
f.flush() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am encountering issues while attempting to use the SDK for Text-to-Speech (TTS). Despite following the provided documentation and examples, I am unable to successfully generate speech from text.
Steps to Reproduce:
Setup Environment:
Code Snippet:
The text was updated successfully, but these errors were encountered: