Spaces:
Build error
Build error
Kartikeyssj2
commited on
Commit
•
b32a33b
1
Parent(s):
0194a47
Update main.py
Browse files
main.py
CHANGED
@@ -92,7 +92,7 @@ async def upload_audio(file: UploadFile = File(...)):
|
|
92 |
url = "https://speech-processing-6.onrender.com/process_audio"
|
93 |
files = {'file': await file.read()}
|
94 |
|
95 |
-
print(files)
|
96 |
|
97 |
print("making a POST request on speech processor")
|
98 |
|
@@ -101,7 +101,7 @@ async def upload_audio(file: UploadFile = File(...)):
|
|
101 |
|
102 |
audio = response.json().get('audio_array')
|
103 |
|
104 |
-
print("audio:" , audio)
|
105 |
|
106 |
print("length of the audio array:" , len(audio))
|
107 |
|
|
|
92 |
url = "https://speech-processing-6.onrender.com/process_audio"
|
93 |
files = {'file': await file.read()}
|
94 |
|
95 |
+
# print(files)
|
96 |
|
97 |
print("making a POST request on speech processor")
|
98 |
|
|
|
101 |
|
102 |
audio = response.json().get('audio_array')
|
103 |
|
104 |
+
print("audio:" , audio[:5])
|
105 |
|
106 |
print("length of the audio array:" , len(audio))
|
107 |
|