-
I'm using whisper.cpp's WASM library, based on the example here. From what I can tell, the Line 5816 in 02b4c52 I feel a bit dumb about this question, but how do I get the actual value of the transcription as a string on the JavaScript side? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nevermind. I had to add some C++-side capabilities to the main whisper.wasm example. I gathered the transcription with |
Beta Was this translation helpful? Give feedback.
Nevermind. I had to add some C++-side capabilities to the main whisper.wasm example. I gathered the transcription with
whisper_full_get_segment_text
and exposed the result to the JavaScript side and polled for the result. All good.