Spaces:
Runtime error
Runtime error
antonin perrot-audet
commited on
Commit
•
7062303
1
Parent(s):
1a08676
log asr response
Browse files
app.py
CHANGED
@@ -100,6 +100,7 @@ def automatic_speech_recognition(language, filename):
|
|
100 |
response = requests.post(
|
101 |
api_url, headers={"Authorization": f"Bearer {HF_API}"}, data=data
|
102 |
)
|
|
|
103 |
return response.json()["text"]
|
104 |
|
105 |
|
|
|
100 |
response = requests.post(
|
101 |
api_url, headers={"Authorization": f"Bearer {HF_API}"}, data=data
|
102 |
)
|
103 |
+
print(response.json())
|
104 |
return response.json()["text"]
|
105 |
|
106 |
|