Uberi / speech_recognition

Speech recognition module for Python, supporting several engines and APIs, online and offline.
https://pypi.python.org/pypi/SpeechRecognition/
BSD 3-Clause "New" or "Revised" License
8.45k stars 2.4k forks source link

Add whisper test cases #776 #782

Open amjadnattouf opened 2 weeks ago

amjadnattouf commented 2 weeks ago

Test cases for whisper recognizer: Raise a SetupError when the API key is missing. Raise a ValueError when invalid audio data is provided. Raise a SetupError with a specific error message when the openai module is not found.

amjadnattouf commented 2 weeks ago

As requested, here is the new pr. @ftnext

ftnext commented 2 weeks ago

Thanks. I will review this after #783