Skip to content

Intelli 0.5.1

Compare
Choose a tag to compare
@intelligentnode intelligentnode released this 30 Jan 21:45
· 9 commits to main since this release
670a129

Offline Whisper Transcription 🎤

Load and use OpenAI's Whisper model offline for audio transcription.
Intellinode module support initial prompt to improve the transcription quality.

Code

Load audio

import soundfile as sf
audio_data, sample_rate = sf.read(file_name)

Inference:

from intelli.wrappers.keras_wrapper import KerasWrapper
wrapper = KerasWrapper(model_name="whisper_large_multi_v2")
result = wrapper.transcript(audio_data, user_prompt="medical content")

check the documentation.