csukuangfj commited on
Commit
6ea922c
1 Parent(s): 80276db

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:b51d92cc5da4b53e5f6f5939c977e696595e8a0ffb77b97adcfe9b0b360fcd06
3
- size 237204847
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e924be1cd7768f9bf233455ebf487e63a9c2deec0a8477b6b140327861573327
3
+ size 237205530
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