csukuangfj
commited on
Commit
•
a4e9f50
1
Parent(s):
cd06f5e
update model
Browse files- sherpa-onnx-asr.js +1 -1
- sherpa-onnx-wasm-main-asr.data +2 -2
- sherpa-onnx-wasm-main-asr.js +0 -0
sherpa-onnx-asr.js
CHANGED
@@ -546,7 +546,7 @@ function initSherpaOnnxOfflineWhisperModelConfig(config, Module) {
|
|
546 |
Module.setValue(ptr + 12, buffer + offset, 'i8*');
|
547 |
offset += taskLen;
|
548 |
|
549 |
-
Module.setValue(ptr + 16, config.tailPaddings ||
|
550 |
|
551 |
return {
|
552 |
buffer: buffer, ptr: ptr, len: len,
|
|
|
546 |
Module.setValue(ptr + 12, buffer + offset, 'i8*');
|
547 |
offset += taskLen;
|
548 |
|
549 |
+
Module.setValue(ptr + 16, config.tailPaddings || 2000, 'i32');
|
550 |
|
551 |
return {
|
552 |
buffer: buffer, ptr: ptr, len: len,
|
sherpa-onnx-wasm-main-asr.data
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a379a74e2ff917765f3a9939afd0f52b73b12911b48a2deb0f4a429f3e6c5636
|
3 |
+
size 190951040
|
sherpa-onnx-wasm-main-asr.js
CHANGED
The diff for this file is too large to render.
See raw diff
|
|