You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"]
The text was updated successfully, but these errors were encountered:
Can you help us integrating whisper.cpp and openvino whisper.
Here is whisper.cpp function to request whisper api.
The text was updated successfully, but these errors were encountered: