Spaces:
Running
Running
Upload app.js
Browse files
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);
|