Transcribing mp3 files locally with OpenAI's whisper model
Talles L

Talles L @tallesl

About: nothing to see here, move along

Location:
Brazil
Joined:
Jul 12, 2020

Transcribing mp3 files locally with OpenAI's whisper model

Publish Date: May 17
0 0
#!/usr/bin/env python3

from whisper import load_model

model = load_model('small')
result = model.transcribe('my_audio.mp3', language='pt')

print(result['text'])
Enter fullscreen mode Exit fullscreen mode

Comments 0 total

    Add comment