radinhas commited on
Commit
b6705fa
1 Parent(s): 23d3e7f

Update apis/chat_api.py

Browse files
Files changed (1) hide show
  1. 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: UploadFile = File(description="Audio file for transcribe"),
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
  ):