Spaces:
Build error
Build error
Kartikeyssj2
commited on
Commit
•
2e81661
1
Parent(s):
9a28c13
Update main.py
Browse files
main.py
CHANGED
@@ -89,13 +89,12 @@ async def get_rnc():
|
|
89 |
|
90 |
@app.post('/pronunciation_scoring')
|
91 |
async def upload_audio(file: UploadFile = File(...)):
|
92 |
-
|
93 |
-
return "bruh"
|
94 |
-
|
95 |
url = "https://speech-processing-6.onrender.com/process_audio"
|
96 |
files = {'file': await file.read()}
|
97 |
|
98 |
# print(files)
|
|
|
99 |
|
100 |
print("making a POST request on speech processor")
|
101 |
|
|
|
89 |
|
90 |
@app.post('/pronunciation_scoring')
|
91 |
async def upload_audio(file: UploadFile = File(...)):
|
92 |
+
print("loading the file")
|
|
|
|
|
93 |
url = "https://speech-processing-6.onrender.com/process_audio"
|
94 |
files = {'file': await file.read()}
|
95 |
|
96 |
# print(files)
|
97 |
+
print("file loaded")
|
98 |
|
99 |
print("making a POST request on speech processor")
|
100 |
|