Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Whisper OpenVino and Whisper.cpp API! #3262

Closed
eav-solution opened this issue Jun 18, 2024 · 0 comments
Closed

Whisper OpenVino and Whisper.cpp API! #3262

eav-solution opened this issue Jun 18, 2024 · 0 comments

Comments

@eav-solution
Copy link

Can you help us integrating whisper.cpp and openvino whisper.
Here is whisper.cpp function to request whisper api.

def request_whisper(file_path):
    url = "http://192.168.1.40:1233/inference"

    # Prepare the files and data for the POST request
    with open(file_path, "rb") as file:
        files = {"file": file}
        data = {"temperature": "0.2", "response-format": "json"}

        response = requests.post(url, files=files, data=data)

        return response.json()["text"]
@open-webui open-webui locked and limited conversation to collaborators Jun 18, 2024
@tjbck tjbck converted this issue into discussion #3267 Jun 18, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant