Spaces:
Sleeping
Sleeping
aahmed10202
commited on
Commit
•
3217ed0
1
Parent(s):
fd8125a
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import requests
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
# Hugging Face Whisper API endpoint
|
6 |
-
API_URL = "https://api-inference.huggingface.co/models/openai/whisper"
|
7 |
|
8 |
# Function to send the audio file to the Hugging Face Whisper API
|
9 |
def query(file_data, my_key):
|
|
|
3 |
from transformers import pipeline
|
4 |
|
5 |
# Hugging Face Whisper API endpoint
|
6 |
+
API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"
|
7 |
|
8 |
# Function to send the audio file to the Hugging Face Whisper API
|
9 |
def query(file_data, my_key):
|