Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Faster Whisper (with less copy and paste) #814

Merged
merged 22 commits into from
Dec 30, 2024

Conversation

ftnext
Copy link
Collaborator

@ftnext ftnext commented Dec 30, 2024

ref: #693, #800

import speech_recognition as sr

r = sr.Recognizer()
with sr.AudioFile("path/to/audio_file.wav") as source:
    audio_data = r.listen(source)

transcription = r.recognize_faster_whisper(audio_data)

@ftnext ftnext self-assigned this Dec 30, 2024
@ftnext ftnext marked this pull request as ready for review December 30, 2024 15:34
@ftnext ftnext merged commit dd67b7c into Uberi:master Dec 30, 2024
8 checks passed
@ftnext ftnext deleted the feature/faster-whisper branch December 30, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant