Spaces:
Build error
Build error
Kartikeyssj2
commited on
Commit
•
990903e
1
Parent(s):
ee147ec
Update main.py
Browse files
main.py
CHANGED
@@ -96,7 +96,7 @@ async def upload_audio(file: UploadFile = File(...)):
|
|
96 |
print("making a POST request on speech processor")
|
97 |
|
98 |
# Make the POST request
|
99 |
-
|
100 |
|
101 |
audio = response.json().get('audio_array')
|
102 |
|
|
|
96 |
print("making a POST request on speech processor")
|
97 |
|
98 |
# Make the POST request
|
99 |
+
response = requests.post(url, files=files)
|
100 |
|
101 |
audio = response.json().get('audio_array')
|
102 |
|