Skip to content
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

Merged
merged 8 commits into from
Jun 5, 2023
Merged

Feat/eleven labs #22

merged 8 commits into from
Jun 5, 2023

Conversation

zbigniewsobiecki
Copy link
Collaborator

  • 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)
Copy link
Contributor

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

Copy link
Collaborator Author

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.

Copy link
Contributor

@meal meal left a 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

Copy link
Contributor

@meal meal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm now

@meal meal merged commit 27888ca into main Jun 5, 2023
@meal meal deleted the feat/eleven-labs branch June 5, 2023 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants