Spaces:
Runtime error
Runtime error
davidscripka
commited on
Commit
•
5982fd5
1
Parent(s):
8e966ac
Specify onnx as inference framework
Browse files
app.py
CHANGED
@@ -5,12 +5,8 @@ import collections
|
|
5 |
import scipy.signal
|
6 |
import numpy as np
|
7 |
from functools import partial
|
8 |
-
import openwakeword
|
9 |
from openwakeword.model import Model
|
10 |
|
11 |
-
# Download models
|
12 |
-
openwakeword.utils.download_models()
|
13 |
-
|
14 |
# Load openWakeWord models
|
15 |
model = Model(inference_framework="onnx")
|
16 |
|
|
|
5 |
import scipy.signal
|
6 |
import numpy as np
|
7 |
from functools import partial
|
|
|
8 |
from openwakeword.model import Model
|
9 |
|
|
|
|
|
|
|
10 |
# Load openWakeWord models
|
11 |
model = Model(inference_framework="onnx")
|
12 |
|