Spaces:
Running
Running
update
Browse files
silero/build_silero_vad.sh
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
#!/usr/bin/env bash
|
|
|
2 |
|
3 |
# install onnxruntime
|
4 |
wget https://github.com/microsoft/onnxruntime/releases/download/v1.20.1/onnxruntime-linux-x64-1.20.1.tgz
|
5 |
tar -zxvf onnxruntime-linux-x64-1.20.1.tgz
|
6 |
export C_INCLUDE_PATH=$C_INCLUDE_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/include
|
7 |
export LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/lib
|
|
|
8 |
|
9 |
# download model
|
10 |
# https://github.com/snakers4/silero-vad/tree/master/src/silero_vad/data
|
|
|
1 |
#!/usr/bin/env bash
|
2 |
+
# https://github.com/snakers4/silero-vad/tree/master/examples/go
|
3 |
|
4 |
# install onnxruntime
|
5 |
wget https://github.com/microsoft/onnxruntime/releases/download/v1.20.1/onnxruntime-linux-x64-1.20.1.tgz
|
6 |
tar -zxvf onnxruntime-linux-x64-1.20.1.tgz
|
7 |
export C_INCLUDE_PATH=$C_INCLUDE_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/include
|
8 |
export LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/lib
|
9 |
+
export LD_LIBRARY_PATH=$(pwd)/onnxruntime-linux-x64-1.20.1/lib:$LD_LIBRARY_PATH
|
10 |
|
11 |
# download model
|
12 |
# https://github.com/snakers4/silero-vad/tree/master/src/silero_vad/data
|