whisper.cpp
whisper.cpp copied to clipboard
whisper_init_from_file: loading model from 'models/ggml-base.en.bin'
Hello and good day.
I am close to getting main command to work from any folder on my Mac system.
When I run a command as such:
main -f output-16000.wav -ml 46 -osrt
I get the following error:
whisper_init_from_file: loading model from 'models/ggml-base.en.bin'
whisper_init_from_file: failed to open 'models/ggml-base.en.bin'
The only way to get the command work is to run the command like this:
main -f output-16000.wav -ml 46 -osrt -m /Users/username/whisper.cpp/models/ggml-base.en.bin
I tried creating an environment variable like this with no success:
export WHISPER_MODEL_PATH=/Users/username/whisper.cpp/models
What can I do so I do not have to place the full path of the language model and it works globally from any folder?
Thank you and have a Fantastic Day!