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"]
This discussion was converted from issue #3262 on June 18, 2024 16:38.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Can you help us integrating whisper.cpp and openvino whisper.
Here is whisper.cpp function to request whisper api.
Beta Was this translation helpful? Give feedback.
All reactions