openwakeword-js 0.1.20 → 0.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.html +9 -2
- package/package.json +1 -1
- package/scripts/download_models.js +1 -1
package/index.html
CHANGED
|
@@ -5,6 +5,13 @@
|
|
|
5
5
|
<meta charset="utf-8" />
|
|
6
6
|
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
|
|
7
7
|
<title>AI Wake Word Detector | OpenWakeWord JS</title>
|
|
8
|
+
<script type="importmap">
|
|
9
|
+
{
|
|
10
|
+
"imports": {
|
|
11
|
+
"onnxruntime-web": "https://cdn.jsdelivr.net/npm/onnxruntime-web@1.20.1/dist/ort.mjs"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
</script>
|
|
8
15
|
|
|
9
16
|
<!-- Fonts -->
|
|
10
17
|
<link href="https://fonts.googleapis.com" rel="preconnect" />
|
|
@@ -287,7 +294,7 @@
|
|
|
287
294
|
class="h-44 overflow-y-auto rounded-xl bg-[#030406] p-4 font-mono text-[10px] text-slate-600 border border-white/5 custom-scrollbar leading-relaxed">
|
|
288
295
|
<div
|
|
289
296
|
class="opacity-40 animate-pulse font-bold text-blue-900 border border-blue-900/40 p-1 inline-block rounded mb-2">
|
|
290
|
-
OPENWAKEWORD-JS V0.1.
|
|
297
|
+
OPENWAKEWORD-JS V0.1.20 READY</div>
|
|
291
298
|
</div>
|
|
292
299
|
</div>
|
|
293
300
|
</details>
|
|
@@ -349,7 +356,7 @@
|
|
|
349
356
|
log('Neural buffers allocating locally...', 'SYSTEM');
|
|
350
357
|
try {
|
|
351
358
|
state.model = new Model({
|
|
352
|
-
wakewordModels: ['./models/hello_deepa.onnx', './models/namaste_deepa.onnx'
|
|
359
|
+
wakewordModels: ['./models/hello_deepa.onnx', './models/namaste_deepa.onnx'],
|
|
353
360
|
melspectrogramModelPath: './models/melspectrogram.onnx',
|
|
354
361
|
embeddingModelPath: './models/embedding_model.onnx',
|
|
355
362
|
inferenceFramework: 'onnx',
|
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@ async function main() {
|
|
|
100
100
|
copyIfExists(path.join(packageRoot, 'models', 'test.html'), path.join(MODELS_DIR, 'test.html'), 'Debug UI');
|
|
101
101
|
|
|
102
102
|
console.log('\n----------------------------------------------------');
|
|
103
|
-
console.log('SETUP COMPLETE (v0.1.
|
|
103
|
+
console.log('SETUP COMPLETE (v0.1.20)');
|
|
104
104
|
console.log('----------------------------------------------------');
|
|
105
105
|
console.log('Your precision AI wake word interface is ready.');
|
|
106
106
|
console.log('\nTo start the demo:');
|