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

Whisper in React JS

Open 18nanma opened this issue 2 years ago • 1 comments

Screen Shot 2023-03-23 at 8 09 04 PM

I see that WebAssembly isn't supported with React JS According to some articles - https://www.telerik.com/blogs/using-webassembly-with-react - we can use - react-app-rewired and wasm-loader , but these need to be call all the wasm functions to use them.

I successfully was able to used stream.wasm example (for live transcription) with just the HTML, CSS and JavaScript. Integrating with React JS is proving to be tricky

Any help appreciated

18nanma avatar Mar 24 '23 01:03 18nanma

Check out https://xenova.github.io/transformers.js/

adamjleonard avatar Mar 27 '23 13:03 adamjleonard