Skip to content
Closed

V8 #11

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ort/
node_modules/
coverage/
ort/
node_modules/
coverage/
2 changes: 2 additions & 0 deletions config/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ module.exports = [
'../reports/**',
'reports/**',
'../node_modules/**',
'../ort/**',
'ort/**',
'../playwright-report/**',
'playwright-report/**',
'../test-results/**',
Expand Down
9 changes: 9 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@ <h3 id="summary-heading" class="hidden my-2.5 text-lg text-white">
</div>
</div>

<script>
// Local ORT and Silero VAD defaults for development.
// These can be overridden by setting the same window properties before this page loads.
window.ORT_WASM_PATH = window.ORT_WASM_PATH || '/ort/';
// If you host the silero model locally, place it at /models/silero_v5_16k.onnx
window.SILERO_VAD_MODEL =
window.SILERO_VAD_MODEL || '/models/silero_v5_16k.onnx';
Comment on lines +155 to +161
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Defaulting Silero model URL to missing local asset breaks VAD

The new inline script sets window.SILERO_VAD_MODEL to '/models/silero_v5_16k.onnx' for every page load. DEFAULT_SILERO_MODEL_URL in src/stt/config.js now always resolves to this local path, but the repo does not include a /models/silero_v5_16k.onnx asset. As a result ensureSession() attempts to fetch a non‑existent file and the ONNX InferenceSession creation fails, disabling VAD out of the box. Previously the app worked because the default URL pointed to the hosted GitHub model. Consider keeping the remote default unless a local model is actually provided.

Useful? React with 👍 / 👎.

</script>

<script type="module" src="./src/main.js"></script>
</body>
</html>
4,177 changes: 4,177 additions & 0 deletions ort/cjs/ort.all.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.all.min.js.map

Large diffs are not rendered by default.

1,830 changes: 1,830 additions & 0 deletions ort/cjs/ort.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.min.js.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions ort/cjs/ort.training.wasm.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.training.wasm.min.js.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions ort/cjs/ort.wasm-core.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.wasm-core.min.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions ort/cjs/ort.wasm.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.wasm.min.js.map

Large diffs are not rendered by default.

1,826 changes: 1,826 additions & 0 deletions ort/cjs/ort.webgl.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.webgl.min.js.map

Large diffs are not rendered by default.

2,358 changes: 2,358 additions & 0 deletions ort/cjs/ort.webgpu.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/cjs/ort.webgpu.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ort/cjs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "commonjs"}
4,177 changes: 4,177 additions & 0 deletions ort/esm/ort.all.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.all.min.js.map

Large diffs are not rendered by default.

1,830 changes: 1,830 additions & 0 deletions ort/esm/ort.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.min.js.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions ort/esm/ort.training.wasm.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.training.wasm.min.js.map

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions ort/esm/ort.wasm-core.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.wasm-core.min.js.map

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions ort/esm/ort.wasm.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.wasm.min.js.map

Large diffs are not rendered by default.

1,826 changes: 1,826 additions & 0 deletions ort/esm/ort.webgl.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.webgl.min.js.map

Large diffs are not rendered by default.

2,358 changes: 2,358 additions & 0 deletions ort/esm/ort.webgpu.min.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/esm/ort.webgpu.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ort/esm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "module"}
Binary file added ort/ort-training-wasm-simd.wasm
Binary file not shown.
Binary file added ort/ort-wasm-simd-threaded.jsep.wasm
Binary file not shown.
Binary file added ort/ort-wasm-simd-threaded.wasm
Binary file not shown.
Binary file added ort/ort-wasm-simd.jsep.wasm
Binary file not shown.
Binary file added ort/ort-wasm-simd.wasm
Binary file not shown.
Binary file added ort/ort-wasm-threaded.wasm
Binary file not shown.
Binary file added ort/ort-wasm.wasm
Binary file not shown.
Loading
Loading