You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The C++/JS bridge in emscripten.cpp has to be extended to provide the output to the JS layer.
It's not very difficult to achieve, but I keep postponing it since it is low priority. I think it should be an easy task for people looking to contribute to the project
ggerganov
changed the title
whisper.wasm : How to get the outputs
whisper.wasm : update Emscripten bridge to provide text segments and token data to the JS layer
Mar 8, 2023
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
andprintErr
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?
The text was updated successfully, but these errors were encountered: