Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ sample = dataset[0]["audio"]
|
|
37 |
|
38 |
|
39 |
@app.post("/speech_to_text")
|
40 |
-
async def speech_to_text(file : UploadFile = File(...))
|
41 |
if file:
|
42 |
contents = await file.read()
|
43 |
with open(file.filename, "wb") as f:
|
|
|
37 |
|
38 |
|
39 |
@app.post("/speech_to_text")
|
40 |
+
async def speech_to_text(file : UploadFile = File(...)):
|
41 |
if file:
|
42 |
contents = await file.read()
|
43 |
with open(file.filename, "wb") as f:
|