csukuangfj commited on
Commit
a4e9f50
1 Parent(s): cd06f5e

update model

Browse files
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 || -1, 'i32');
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:e776c2729f192296a01f1611c227ce04699130bd531c0e530c0bf60a4fdc4e52
3
- size 74210266
 
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