3 ms·
Can I use it in Deno? It requires a worker (fails in node because "self")
by gl-prod 4y ago
Can I use it in Deno? It requires a worker (fails in node because "self")
- xenova 4y agoYes, there are some workarounds you can do to get it working in non-browser environments. I do aim to get a permanent solution, which will ideally work out-of-the-box for both browser and node/deno environments. Some other users also reported the issue (which stems from a bug in onnxruntime-web), and we were able to get it working in these cases: 1. https://github.com/xenova/transformers.js/issues/4 https://github.com/xenova/transformers.js/issues/4 2. https://github.com/xenova/transformers.js/issues/19 https://github.com/xenova/transformers.js/issues/19
- gl-prod 4y agoThanks, I will be following