csukuangfj
commited on
Commit
•
dc8af12
1
Parent(s):
2a538ab
update model
Browse files- index.html +1 -1
- sherpa-onnx-asr.js +1 -1
- sherpa-onnx-wasm-main-asr.data +2 -2
- sherpa-onnx-wasm-main-asr.js +0 -0
- sherpa-onnx-wasm-main-asr.wasm +2 -2
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
|
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 ||
|
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: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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90837cea4c3936d8b384217ef634f78e39900e928f216e31c9094ce8872f4d00
|
3 |
+
size 11428830
|