argmaxinc / WhisperKit

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

Fix audio file requirement for streaming mode #121

Closed couche1 closed 6 months ago

couche1 commented 6 months ago

When running cli with the --stream flag, an error occurs:

Either audioPath or audioFolder must be provided.

This PR resolves the issue by introducing a conditional to skip the audio file check in streaming mode.