argmaxinc / WhisperKit

On-device Speech Recognition for Apple Silicon
https://takeargmax.com/blog/whisperkit
MIT License
3.17k stars 267 forks source link

Add `microphoneUnavailable` error #113

Closed hewigovens closed 5 months ago

hewigovens commented 5 months ago

Hi guys, I'm testing WhisperKit on my mac mini / studio and there is no builtin microphone.

This change will prevent crash if you click "Record" or "Stream" button if you don't connect Earphones or Microphones.