Skip to content

Commit

Permalink
Merge pull request #954 from SpaceShaman/patch-1
Browse files Browse the repository at this point in the history
Update audio.py
  • Loading branch information
zzstoatzz authored Aug 10, 2024
2 parents 7af639f + 5c396dd commit fda94eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/marvin/ai/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,9 @@ def transcribe(
This function converts audio from a file to text.
"""
return run_sync(transcribe_async(data=data, prompt=prompt, **model_kwargs or {}))
return run_sync(
transcribe_async(data=data, prompt=prompt, model_kwargs=model_kwargs or {})
)


def speech(
Expand Down

0 comments on commit fda94eb

Please sign in to comment.