Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -395,7 +395,7 @@ def whisper(filename):
|
|
395 |
"Authorization": "Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
396 |
"Content-Type": "audio/wav"
|
397 |
}
|
398 |
-
response = requests.post(API_URL, headers data)
|
399 |
st.write(response)
|
400 |
return response.json()
|
401 |
|
|
|
395 |
"Authorization": "Bearer XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
|
396 |
"Content-Type": "audio/wav"
|
397 |
}
|
398 |
+
response = requests.post(API_URL, headers, data)
|
399 |
st.write(response)
|
400 |
return response.json()
|
401 |
|