transcribe_audio_file

@with_requirements(["openai-whisper"])
def transcribe_audio_file(file_path)

Transcribes the audio file located at the given file path.

Arguments:

  • file_path str - The path to the audio file.

Returns:

  • str - The transcribed text from the audio file.