Open Jakevin opened 3 months ago
Thanks. I have another problem though, the library seems to be trying to load some files (ort-wasm-simd.wasm) from the current path instead of from root, therefore it's failing.
ie. Should load from http://localhost:3000/ort-wasm-simd.wasm Loads from http://localhost:3000/path/ort-wasm-simd.wasm
Do you have this problem?
Solved, had to add:
ortConfig: (ort) => {
ort.env.wasm.wasmPaths = "/";
},
vite.config.js
in your code