Replies: 1 comment
-
You should probably contact the people that wrote the whisper.cpp npm library for ansewers to these questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have limited knowledge about ES6 or about vite and I'm unsure how to use the 'whisper.cpp' library in the context of Vue 3 + Vite. Can anyone provide guidance on whether this library is compatible with Vue 3 + Vite, and if so, how to integrate it?
Supplementary Information:
I have attempted to use the 'whisper.cpp' npm library. Initially, I encountered the error message:
GET http://localhost:5173/libwhisper.worker.js 404 (Not Found)
. To address this, I employed the vite-plugin-static-copy library to copy 'libwhisper.worker.js' from the 'whisper.cpp' package directory to the 'public' directory, which resolved the issue.However, I then encountered another error:
worker sent an error! http://localhost:5173/libwhisper.worker.js:1: Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': Overload resolution failed.
Could anyone provide guidance on how to resolve this error? Or, is there a different approach I should be using?
Beta Was this translation helpful? Give feedback.
All reactions