argmaxinc / WhisperKit

On-device Speech Recognition for Apple Silicon
http://argmaxinc.com/blog/whisperkit
MIT License
3.92k stars 330 forks source link

Disallow invalid `--language` values #103

Closed atiorh closed 7 months ago

atiorh commented 7 months ago

Using whisperkit-cli with --language en works great but --language EN or any other invalid value silently fails and returns an empty transcription.

jkrukowski commented 7 months ago

I can take it