gsaon commited on
Commit
3450453
·
verified ·
1 Parent(s): 4fa39ce

Upload app.js

Browse files
Files changed (1) hide show
  1. app.js +3 -0
app.js CHANGED
@@ -151,6 +151,9 @@ async function initModels() {
151
  },
152
  });
153
 
 
 
 
154
  progressFill.style.width = '0%';
155
  setStatus('ready', 'Ready - Record or upload audio');
156
  enableControls(true);
 
151
  },
152
  });
153
 
154
+ setStatus('loading', 'Loading VAD and punctuation models...');
155
+ await Promise.all([loadVAD(), loadPunctuator()]);
156
+
157
  progressFill.style.width = '0%';
158
  setStatus('ready', 'Ready - Record or upload audio');
159
  enableControls(true);