csukuangfj commited on
Commit
b25d658
1 Parent(s): 6f537d2

update model

Browse files
app-vad-asr.js CHANGED
@@ -111,6 +111,13 @@ function initOfflineRecognizer() {
111
  };
112
  } else if (fileExists('telespeech.onnx')) {
113
  config.modelConfig.telespeechCtc = './telespeech.onnx';
 
 
 
 
 
 
 
114
  } else {
115
  console.log('Please specify a model.');
116
  alert('Please specify a model.');
 
111
  };
112
  } else if (fileExists('telespeech.onnx')) {
113
  config.modelConfig.telespeechCtc = './telespeech.onnx';
114
+ } else if (fileExists('moonshine-preprocessor.onnx')) {
115
+ config.modelConfig.moonshine = {
116
+ preprocessor: './moonshine-preprocessor.onnx',
117
+ encoder: './moonshine-encoder.onnx',
118
+ uncachedDecoder: './moonshine-uncached-decoder.onnx',
119
+ cachedDecoder: './moonshine-cached-decoder.onnx'
120
+ };
121
  } else {
122
  console.log('Please specify a model.');
123
  alert('Please specify a model.');
sherpa-onnx-wasm-main-vad-asr.wasm CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e0bdfd246590dbb70e21d7f8a3214018a7861ea84651cef8b2e97208e956c3f3
3
- size 11426570
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71ba4191e4ad866d04dc7fb8963fe01a1107a0c7b0f304ed25a7f904cd7168aa
3
+ size 11427885