benjamin-paine commited on
Commit
a2e77f3
·
verified ·
1 Parent(s): b9cb2e4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -1
index.js CHANGED
@@ -9,12 +9,13 @@ const colors = {
9
  "speech": [22,200,206],
10
  "frame budget": [25,255,25]
11
  };
 
12
  const wakeWords = ["buddy", "hey buddy", "hi buddy", "sup buddy", "yo buddy", "okay buddy"];
13
  const canvasSize = { width: 640, height: 100 };
14
  const graphLineWidth = 1;
15
  const options = {
16
  debug: true,
17
- modelPath: wakeWords.map((word) => `/models/${word.replace(' ', '-')}.onnx`)
18
  };
19
 
20
  /** Helper method for conversion */
 
9
  "speech": [22,200,206],
10
  "frame budget": [25,255,25]
11
  };
12
+
13
  const wakeWords = ["buddy", "hey buddy", "hi buddy", "sup buddy", "yo buddy", "okay buddy"];
14
  const canvasSize = { width: 640, height: 100 };
15
  const graphLineWidth = 1;
16
  const options = {
17
  debug: true,
18
+ modelPath: wakeWords.map((word) => `https://huggingface.co/spaces/benjamin-paine/hey-buddy/resolve/main/models/${word.replace(' ', '-')}.onnx`)
19
  };
20
 
21
  /** Helper method for conversion */