whisper.cpp icon indicating copy to clipboard operation
whisper.cpp copied to clipboard

Add loader class to allow loading from buffer and others

Open prsyahmi opened this issue 2 years ago • 1 comments

Hi, I added a class to allow flexible loading of whisper model from any source.

Please note that I made a breaking change (renaming whisper_init to whisper_init_from_file) and didn't test go, wasm, emscripten and iOS/apple related.

prsyahmi avatar Jan 01 '23 12:01 prsyahmi

Thanks for this - on first look, it seems well done! I will review the changes in more details in the following days.

ggerganov avatar Jan 03 '23 20:01 ggerganov

Thanks for this and sorry for force-pushing in your repo - not sure if there is a better way to resolve merge conflicts when the PR is from another remote.

ggerganov avatar Jan 08 '23 11:01 ggerganov