Skip to content
Merged

V10 #13

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
2973ce7
Implement client-side chunked transcription pipeline
cs-util Oct 28, 2025
bbc0c19
Disable Multi-Threading: Set ort.env.wasm.numThreads = 1 to avoid the…
cs-util Oct 29, 2025
df5b6e4
Refactor chunking tests for clarity and accuracy; update VAD to use C…
cs-util Oct 29, 2025
366ee0b
Update ONNX Runtime import to use CDN and disable multi-threading for…
cs-util Oct 29, 2025
f0678bb
Update ONNX Runtime import to use ESM and adjust multi-threading sett…
cs-util Oct 29, 2025
21a646c
Refactor ONNX Runtime import to simplify promise handling and ensure …
cs-util Oct 29, 2025
c129850
Enhance error handling in ONNX Runtime import to check for module ava…
cs-util Oct 29, 2025
cfd4646
Enhance error handling in ensureSession to check for InferenceSession…
cs-util Oct 29, 2025
545df4a
Enhance ONNX Runtime import to support multiple CDN sources and impro…
cs-util Oct 29, 2025
2eecbad
Add diagnostic logging for ONNX Runtime Web URL loading
cs-util Oct 29, 2025
a5d0bff
Add fetch script for ONNX Runtime Web distribution assets
cs-util Oct 29, 2025
83a8397
Added local ort vendor directory
cs-util Oct 29, 2025
e7f432a
Added explicit ignore patterns for ort/** in eslint.config.js so ESLi…
cs-util Oct 29, 2025
18c9f12
Add local ORT and Silero VAD model paths for development
cs-util Oct 29, 2025
979831a
Update src/stt/vad.js
cs-util Oct 29, 2025
e8658ab
Update scripts/fetch-onnx-dist.sh
cs-util Oct 29, 2025
b2de2cd
Update scripts/fetch-onnx-dist.sh
cs-util Oct 29, 2025
38984d0
Merge commit 'b2de2cd577b316d1780fd015f9952886de730b50' into v8
cs-util Oct 29, 2025
a8ce668
updated the default model URL to the v4 version, commented out the lo…
cs-util Oct 29, 2025
31c1c01
Add Silero VAD model path and update README instructions for local setup
cs-util Oct 29, 2025
9801fb1
Add logging for ONNX Runtime object keys and InferenceSession details
cs-util Oct 29, 2025
b429f97
Update default ONNX Runtime version in fetch script and enhance VAD s…
cs-util Oct 29, 2025
39c5826
Updated ONNX Runtime Web to version 1.19.0 and added logging to show …
cs-util Oct 29, 2025
afa5551
Update Silero VAD model path to '/model/silero_vad.onnx' and reflect …
cs-util Oct 29, 2025
905b5d9
Fix tensor shape in createStateTensor function for correct dimensiona…
cs-util Oct 29, 2025
4a8dfa7
Fix tensor shape in createStateTensor function for correct dimensiona…
cs-util Oct 29, 2025
39b0b0f
Enhance logging in detectSpeechSegments function to reduce console ou…
cs-util Oct 29, 2025
3130785
Refactor logging in VAD functions for improved readability and consis…
cs-util Oct 29, 2025
8a7f8a6
unused createHiddenTensor function
cs-util Oct 29, 2025
9ceb601
Add testing helpers for injecting fake ort/session and enhance tests …
cs-util Oct 29, 2025
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/**',
Comment on lines +15 to +16
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

While not a functional issue, ignoring the ort/ directory is also handled by .eslintignore. For consistency and to have a single source of truth for top-level ignored directories, you might consider removing these lines and relying solely on .eslintignore. However, keeping it here also works, as ESLint will respect both.

'../playwright-report/**',
'playwright-report/**',
'../test-results/**',
Expand Down
8 changes: 8 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,14 @@ <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/';
window.SILERO_VAD_MODEL =
window.SILERO_VAD_MODEL || '/model/silero_vad.onnx';
</script>

<script type="module" src="./src/main.js"></script>
</body>
</html>
Binary file added model/silero_vad.onnx
Binary file not shown.
82 changes: 82 additions & 0 deletions ort/ort-training-wasm-simd-threaded.mjs

Large diffs are not rendered by default.

Binary file added ort/ort-training-wasm-simd-threaded.wasm
Binary file not shown.
127 changes: 127 additions & 0 deletions ort/ort-wasm-simd-threaded.jsep.mjs

Large diffs are not rendered by default.

Binary file added ort/ort-wasm-simd-threaded.jsep.wasm
Binary file not shown.
80 changes: 80 additions & 0 deletions ort/ort-wasm-simd-threaded.mjs

Large diffs are not rendered by default.

Binary file added ort/ort-wasm-simd-threaded.wasm
Binary file not shown.
4,405 changes: 4,405 additions & 0 deletions ort/ort.all.bundle.min.mjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions ort/ort.all.bundle.min.mjs.map

Large diffs are not rendered by default.

Loading