Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOMException The user aborted a request #165

Open
xiaoBing5102 opened this issue Dec 4, 2024 · 9 comments
Open

DOMException The user aborted a request #165

xiaoBing5102 opened this issue Dec 4, 2024 · 9 comments

Comments

@xiaoBing5102
Copy link

The version of Google browser on my two computers a and b is 103.0.5060.53 (64). Why can computer A use web-vad but computer B gets an error DOMException The user aborted a request

@xiaoBing5102
Copy link
Author

Yeah, b doesn't have Internet

@xiaoBing5102
Copy link
Author

Or how do I import the script offline through script

@ricky0123
Copy link
Owner

Hi @xiaoBing5102 please take a look at this doc page or any of the examples. You have to specify the base url path for the files and make them available in your build process using, eg, webpack

@xiaoBing5102
Copy link
Author

hi @ricky0123 Now I do it in a different way,npm i @ricky0123/[email protected],And the CopyPlugin plugin is configured ,But the prompt wasm-utils-import.ts? ad36:80 GET http://localhost:8080/js/ort-wasm-simd-threaded.mjs net::ERR_ABORTED 404 (Not Found) 请问这种情况该怎么处理呢?
Uploading Snipaste_2024-12-05_10-29-39.jpg…

@xiaoBing5102
Copy link
Author

Snipaste_2024-12-05_10-29-53
Snipaste_2024-12-05_10-30-02
Snipaste_2024-12-05_10-30-10
Snipaste_2024-12-05_10-30-19

@xiaoBing5102
Copy link
Author

Snipaste_2024-12-05_10-31-54

@xiaoBing5102
Copy link
Author

Normally you would look for the ort-wasm-simd.wasm file
But when I use it offline, I go to ort-wasm-simd-threader.mijs or ort.wasm.wasm

@xiaoBing5102
Copy link
Author

silero_vad.onnx and worklet.bundle.min.js can be used normally

@xiaoBing5102
Copy link
Author

getWasmFileName returns different wasm names according to the useThreads function. What are useThreads and useSimd in if

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants