Intelli 0.5.1
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.