module pixeltable.functions.whisper
Pixeltable UDFs that wraps the OpenAI Whisper library. This UDF will cause Pixeltable to invoke the relevant model locally. In order to use it, you must firstpip install openai-whisper.
udf transcribe()
transcribe function, as described in the
Whisper library documentation.
Requirements:
pip install openai-whisper
audio(Audio): The audio file to transcribe.model(String): The name of the model to use for transcription.
Json: A dictionary containing the transcription and various other metadata.
base.en to an existing Pixeltable column tbl.audio of the table tbl: