ggml-org/whisper.cpp
View on GitHubwhisper.wasm : update Emscripten bridge to provide text segments and token data to the JS layer
Open
#585 opened on Mar 8, 2023
enhancementgood first issue
Description
While Im testing the code I have seen that full_default do not return the data, just only logs it.
To be able to retrieve them I have override the print and printErr handlers to extract the data and then apply clunky regexes.
Could not be awesome if we could gather the output instead of the error code? Or both?