Skip to content

Commit

Permalink
Merge pull request #140 from obra/patch-1
Browse files Browse the repository at this point in the history
"Word level timestamps" was misspelled.
  • Loading branch information
ahmetoner committed Oct 3, 2023
2 parents cac1d7c + 28fd85a commit e4b573a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/webservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def asr(
audio_file: UploadFile = File(...),
encode: bool = Query(default=True, description="Encode audio first through ffmpeg"),
output: Union[str, None] = Query(default="txt", enum=["txt", "vtt", "srt", "tsv", "json"]),
word_timestamps: bool = Query(default=False, description="World level timestamps")
word_timestamps: bool = Query(default=False, description="Word level timestamps")
):
result = transcribe(load_audio(audio_file.file, encode), task, language, initial_prompt, word_timestamps, output)
return StreamingResponse(
Expand Down

0 comments on commit e4b573a

Please sign in to comment.