Spaces:
Runtime error
Runtime error
Update apis/chat_api.py
Browse files- apis/chat_api.py +1 -1
apis/chat_api.py
CHANGED
@@ -309,7 +309,7 @@ app.add_middleware(
|
|
309 |
)
|
310 |
@app.post("/transcribe")
|
311 |
async def whisper_transcribe(
|
312 |
-
audio_file:
|
313 |
language: str = Form(),
|
314 |
model: str = Form(),
|
315 |
):
|
|
|
309 |
)
|
310 |
@app.post("/transcribe")
|
311 |
async def whisper_transcribe(
|
312 |
+
audio_file: bytes = File(description="Audio file for transcribe"),
|
313 |
language: str = Form(),
|
314 |
model: str = Form(),
|
315 |
):
|