Skip to content

Commit 915dd3d

Browse files
committed
v4.0stable force_onnx_cpu fx
1 parent ac128b3 commit 915dd3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hubconf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def silero_vad(onnx=False, force_onnx_cpu=False):
3434

3535
model_dir = os.path.join(os.path.dirname(__file__), 'files')
3636
if onnx:
37-
model = OnnxWrapper(os.path.join(model_dir, 'silero_vad.onnx'))
37+
model = OnnxWrapper(os.path.join(model_dir, 'silero_vad.onnx'), force_onnx_cpu)
3838
else:
3939
model = init_jit_model(os.path.join(model_dir, 'silero_vad.jit'))
4040
utils = (get_speech_timestamps,

0 commit comments

Comments
 (0)