Skip to content

Commit

Permalink
refactor: update transcriptions allow format
Browse files Browse the repository at this point in the history
  • Loading branch information
aiwantaozi committed Dec 5, 2024
1 parent 7a64944 commit 4951377
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vox_box/server/routers.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ async def speech(request: SpeechRequest):
"audio/x-wav",
"audio/wave",
# webm
"video/webm",
"audio/webm",
# file
"application/octet-stream",
}

ALLOWED_TRANSCRIPTIONS_OUTPUT_FORMATS = {"json", "text", "srt", "vtt", "verbose_json"}
Expand Down

0 comments on commit 4951377

Please sign in to comment.