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
Is your feature request related to a problem? Please describe.
If you would like to use the wasm client, and want to instantiate STT, it involves downloading or loading multiple 100+ mb files. If you do it in the main thread, it locks up the UI. I don't believe this package currently supports running in a web worker, because the web context will attempt to create the URL of the .wasm/.worker file using the URL module, which isn't available in web workers.
Describe the solution you'd like
Allow passing in the url to the STT() function, overriding calls to the URL module.
Describe alternatives you've considered
Personally, I've hacked stt_wasm.js to take a url arg, and removed the calls to URL.
One could potentially provide an implementation of URL for use in stt_wasm? I'm not so deep in javascript that I know how to do it.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
If you would like to use the wasm client, and want to instantiate STT, it involves downloading or loading multiple 100+ mb files. If you do it in the main thread, it locks up the UI. I don't believe this package currently supports running in a web worker, because the web context will attempt to create the URL of the .wasm/.worker file using the URL module, which isn't available in web workers.
Describe the solution you'd like
Allow passing in the url to the STT() function, overriding calls to the URL module.
Describe alternatives you've considered
Personally, I've hacked stt_wasm.js to take a url arg, and removed the calls to URL.
One could potentially provide an implementation of URL for use in stt_wasm? I'm not so deep in javascript that I know how to do it.
The text was updated successfully, but these errors were encountered: