Spaces:
Build error
Build error
Kartikeyssj2
commited on
Commit
•
91d4d7a
1
Parent(s):
9c376c5
Update main.py
Browse files
main.py
CHANGED
@@ -91,8 +91,12 @@ async def upload_audio(file: UploadFile = File(...)):
|
|
91 |
url = "https://speech-processing-6.onrender.com/process_audio"
|
92 |
files = {'file': file}
|
93 |
|
|
|
|
|
94 |
# Make the POST request
|
95 |
audio = requests.post(url, files=files)
|
|
|
|
|
96 |
|
97 |
# Tokenize audio
|
98 |
print("Tokenizing audio...")
|
|
|
91 |
url = "https://speech-processing-6.onrender.com/process_audio"
|
92 |
files = {'file': file}
|
93 |
|
94 |
+
print(files)
|
95 |
+
|
96 |
# Make the POST request
|
97 |
audio = requests.post(url, files=files)
|
98 |
+
|
99 |
+
print("audio:" , audio)
|
100 |
|
101 |
# Tokenize audio
|
102 |
print("Tokenizing audio...")
|