csukuangfj commited on
Commit
dc8af12
1 Parent(s): 2a538ab

update model

Browse files
index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width" />
6
- <title>Next-gen Kaldi WebAssembly with sherpa-onnx for Text-to-speech</title>
7
  <style>
8
  h1,div {
9
  text-align: center;
 
3
  <head>
4
  <meta charset="utf-8">
5
  <meta name="viewport" content="width=device-width" />
6
+ <title>Next-gen Kaldi WebAssembly with sherpa-onnx for ASR</title>
7
  <style>
8
  h1,div {
9
  text-align: center;
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:a3292500771320f0d6328ddfe65b57cb4da55d3c7151adb8aed56b4c43b8a9f5
3
- size 199058551
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:429871c8db1b7d238227cee0d050390445ef95bb0b41767bb676a6d51f143231
3
+ size 199059234
sherpa-onnx-wasm-main-asr.js CHANGED
The diff for this file is too large to render. See raw diff
 
sherpa-onnx-wasm-main-asr.wasm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75a71070a3afbca4b093d46d069b980645ff6eddcdccaefaabb92eb207f4a4af
3
- size 11336914
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90837cea4c3936d8b384217ef634f78e39900e928f216e31c9094ce8872f4d00
3
+ size 11428830