csukuangfj
commited on
Commit
•
6ea922c
1
Parent(s):
80276db
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: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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90837cea4c3936d8b384217ef634f78e39900e928f216e31c9094ce8872f4d00
|
3 |
+
size 11428830
|