-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Updated to the latest OpenAI API changes, and fixed #720 #729
Updated to the latest OpenAI API changes, and fixed #720 #729
Conversation
Hi @herrjemand, could you please look into this PR? I've tested the change myself, and it works fine on my end as well. |
@zielony What do you want me to look at? |
At this PR, and if it's ok for you, could you please merge it? It would help multiple users using your library, as Whisper API integration currently does not work. |
I am no maintainer lol
Yuriy Ackermann
FIDO, Identity, Standards
skype: ackermann.yuriy
github: @herrjemand <https://github.com/herrjemand>
twitter: @herrjemand <https://twitter.com/herrjemand>
medium: @herrjemand ***@***.***>
…On Tue, 30 Jan 2024 at 11:29 PM, Tomek Zielonka ***@***.***> wrote:
@zielony <https://github.com/zielony> What do you want me to look at?
At this PR, and if it's ok for you, could you please merge it? It would
help multiple users using your library, as Whisper API integration
currently does not work.
—
Reply to this email directly, view it on GitHub
<#729 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMPOFDXHIQFOXIULP3JG6TYRDDRPAVCNFSM6AAAAABBZ6N7SSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJWGUZTSNBZGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sorry, I looked at the wrong nickname, wanted to mention @Uberi - are you able to merge this to master, please? |
it would be great to have this PR merged. |
Thanks for this pull request. It works:
>>> import speech_recognition as sr
>>> recognizer = sr.Recognizer()
>>> with sr.AudioFile("tests/english.wav") as source:
... audio = recognizer.record(source)
>>> recognizer.recognize_whisper_api(audio)
'1, 2, 3.' |
@herrjemand Thanks a lot. |
In November OpenAI released version 1.0 that deprecated a lot of old API.
These changes addresses issues raised in #720 and fixes now completely broken
recognize_whisper_api
API.