Skip to content

feat: API endpoint support #159

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Napolitain
Copy link

run.py is a fastapi endpoint (to run the model without an UI based interface).
It uses fastapi and root/assets/ as default dir for audio clone path
I recommend making the UI depend on that service, instead of making them tightly coupled.

@y4my4my4m
Copy link

y4my4my4m commented Feb 26, 2025

Thank you for this, I was looking for an API endpoint.
By the way, shouldn't gradio already have the API endpoint if we were just to add serve=true here?

@darkacorn
Copy link
Contributor

there is also a more elaborate version already as pr ..

@y4my4my4m
Copy link

#73 duplicate

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.

3 participants