-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
tts support (WIP) #456
tts support (WIP) #456
Conversation
Hello im in window i get this error how to fix it ? 2023-11-09 11:21:27,978 - root - ERROR - Failed to generate speech: |
Ups, I did not know Windows would have issues with temporal files... I will change that to use files in memory, it will be more portable. Wait for my next commit on this branch. |
@rokipet You can test now |
thanks that worked |
I can't figure out how to use tts! is there an instruction? please |
If you cloned this branch, you can use it with |
I have a question, can I receive responses from the GPT chat in the format of MP3 in my Telegram bot? |
It is technically possible, but not implemented yet. What's your use-case? |
I can imagine a workflow when bot answers a query not with text but TTS voice message directly (so, even sending back and forth voice messages between the user and bot). Something like |
I see the point now, I thought it was about the format of the message, which is currently a voice message, but could also be just an mp3 file. Regarding adding support for |
Thanks @gilcu3! Tested this and seems to work great, made a couple of fixes and aligned all translations. Merging now! Feel free to open a separate PR for further improvements |
Like this #468 ? |
This PR depends on #453. It adds support for the current
tts
models from openai. Feel free to try and let me know if anything breaks.