Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import requests
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"
|
| 6 |
-
headers = {"Authorization": f"Bearer {st.secrets['
|
| 7 |
|
| 8 |
def query(file):
|
| 9 |
data = file.read()
|
|
|
|
| 3 |
import os
|
| 4 |
|
| 5 |
API_URL = "https://api-inference.huggingface.co/models/openai/whisper-large-v3-turbo"
|
| 6 |
+
headers = {"Authorization": f"Bearer {st.secrets['HF_API_KEY']}"}
|
| 7 |
|
| 8 |
def query(file):
|
| 9 |
data = file.read()
|