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

new API interfaces for the new methods #31

Closed
bghira opened this issue Apr 30, 2023 · 1 comment
Closed

new API interfaces for the new methods #31

bghira opened this issue Apr 30, 2023 · 1 comment

Comments

@bghira
Copy link

bghira commented Apr 30, 2023

As an integrator, I would like to have access to the same logic being used by the bark_perform.py script via bark.api.

Please relocate these methods to the api and instead, import and use them through the perform script.

Additionally, the methods you have updated in the api have not had their doc strings updated correctly, so it confusingly returns a tuple now instead of the audio array.

@JonathanFly
Copy link
Owner

As an integrator, I would like to have access to the same logic being used by the bark_perform.py script via bark.api.

Please relocate these methods to the api and instead, import and use them through the perform script.

All set. I think generate_audio has the same returns as base bark, though api functions I added may not. Also see the Colab linked in the README.

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

No branches or pull requests

2 participants