Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -34,6 +34,7 @@ def transcribe_audio(file_path):
|
|
34 |
data = {'file': f}
|
35 |
API_URL = "https://tonpixzfvq3791u9.us-east-1.aws.endpoints.huggingface.cloud"
|
36 |
response = requests.post(API_URL, headers=headers, data=data)
|
|
|
37 |
|
38 |
if response.status_code == 200:
|
39 |
st.write('Reasoning with your transcription..')
|
|
|
34 |
data = {'file': f}
|
35 |
API_URL = "https://tonpixzfvq3791u9.us-east-1.aws.endpoints.huggingface.cloud"
|
36 |
response = requests.post(API_URL, headers=headers, data=data)
|
37 |
+
st.write(response)
|
38 |
|
39 |
if response.status_code == 200:
|
40 |
st.write('Reasoning with your transcription..')
|