ariym/whisper-node

error: failed to open 'test.wav' as WAV file

Closed this issue · 2 comments

I got other bugs also in which it was failing to download models , do i did those steps manually , and placed it in node modules , but now i am facing this error

[whisper-node] Problem: whisper_init_from_file: loading model from './models/ggml-tiny.en.bin'
whisper_model_load: loading model
whisper_model_load: n_vocab = 51864
whisper_model_load: n_audio_ctx = 1500
whisper_model_load: n_audio_state = 384
whisper_model_load: n_audio_head = 6
whisper_model_load: n_audio_layer = 4
whisper_model_load: n_text_ctx = 448
whisper_model_load: n_text_state = 384
whisper_model_load: n_text_head = 6
whisper_model_load: n_text_layer = 4
whisper_model_load: n_mels = 80
whisper_model_load: f16 = 1
whisper_model_load: type = 1
whisper_model_load: adding 1607 extra tokens
whisper_model_load: mem_required = 390.00 MB
whisper_model_load: ggml ctx size = 73.58 MB
whisper_model_load: memory size = 11.41 MB
whisper_model_load: model size = 73.54 MB
error: failed to open 'test.wav' as WAV file

update: fixed mostly all bugs which are in issues , like model not downloading , and model not loading , and then failed to open 'test.wav' as WAV file bug

will raise a pr for all these changes

Could you please tell me how did you fix the failed to open 'test.wav' as WAV file bug, please.