Spaces:
Runtime error
Runtime error
DewiBrynJones
commited on
Commit
•
ddc7483
1
Parent(s):
a1cac4a
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ with ir.path('openwakeword', 'resources') as oir:
|
|
20 |
# Load openWakeWord models
|
21 |
model = Model(
|
22 |
inference_framework="onnx",
|
23 |
-
wakeword_models=["borah_da.onnx"], # can also leave this argument empty to load all of the included pre-trained models
|
24 |
)
|
25 |
|
26 |
# Define function to process audio
|
@@ -83,7 +83,10 @@ you should see a spike in the score for a given model after speaking a related w
|
|
83 |
|
84 |
| Model Name | Word/Phrase |
|
85 |
| --- | --- |
|
86 |
-
|
|
|
|
|
|
|
|
87 |
|
88 |
"""
|
89 |
|
|
|
20 |
# Load openWakeWord models
|
21 |
model = Model(
|
22 |
inference_framework="onnx",
|
23 |
+
wakeword_models=["borah_da.onnx", "prin_hawn_da_max_en"], # can also leave this argument empty to load all of the included pre-trained models
|
24 |
)
|
25 |
|
26 |
# Define function to process audio
|
|
|
83 |
|
84 |
| Model Name | Word/Phrase |
|
85 |
| --- | --- |
|
86 |
+
| borah_da | "bora da" |
|
87 |
+
| max_en | "Macsen" |
|
88 |
+
| prin_hawn_da_max_en | "Prynhawn da, Macsen"|
|
89 |
+
|
90 |
|
91 |
"""
|
92 |
|