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

Adding REST/swagger API and docker image in the official repo #137

Open
flefevre opened this issue Apr 17, 2024 · 1 comment
Open

Adding REST/swagger API and docker image in the official repo #137

flefevre opened this issue Apr 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@flefevre
Copy link

Dear whisper webui team,
i would like to know if your program could be install on a linux server.
it seems there is no official docker image, are you going to this direction?
i would like to know also if you provide a rest/swagger api to be able to call your program directly?
Thanks for the work done.
François from France

@flefevre flefevre added the enhancement New feature or request label Apr 17, 2024
@jhj0517
Copy link
Owner

jhj0517 commented Apr 18, 2024

Hi!

  1. Here's the Dockerfile you can use.

  2. Regarding the REST API, you can build it directly in Gradio. I'd recommend reading this Gradio documentation.
    You can view the documentation for the REST APIs by clicking "Use via API" in the app.

I'll add api_open as a command-line argument to facilitate better usage of the REST API.

@jhj0517 jhj0517 mentioned this issue Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants