-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat/eleven labs #22
Feat/eleven labs #22
Conversation
zbigniewsobiecki
commented
Jun 3, 2023
- brings support of eleven labs text-to-speech
- tests for services
- simplified integration code
- support for custom integration options (like "voice")
model=self.service_config.model_name(), | ||
) | ||
|
||
self.response = ServiceResponse(audio) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right now what we have is only the length of response, without actually storing/showing the response.
import os
path = "./audio.mp3"
f = open(path, 'wb)
f.write(audio)
would also save the audio result to the mp3 file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file gets saved with using -l option as well as you can use -q to pipe it to mp3 file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good work on refactoring, just minor fixes needed for elevenlabs integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm now