Spaces:
Sleeping
Sleeping
update
Browse files- Dockerfile +4 -2
- install.sh +2 -2
Dockerfile
CHANGED
@@ -16,10 +16,12 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
16 |
|
17 |
RUN bash install.sh
|
18 |
|
19 |
-
|
20 |
-
|
21 |
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/code/thirdparty/onnxruntime-linux-x64-1.20.1/lib
|
22 |
|
|
|
|
|
23 |
USER root
|
24 |
|
25 |
RUN chmod -R 777 .
|
|
|
16 |
|
17 |
RUN bash install.sh
|
18 |
|
19 |
+
ENV C_INCLUDE_PATH=$C_INCLUDE_PATH:/code/thirdparty/onnxruntime-linux-x64-1.20.1/include
|
20 |
+
ENV LIBRARY_PATH=$LIBRARY_PATH:/code/thirdparty/onnxruntime-linux-x64-1.20.1/lib
|
21 |
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/code/thirdparty/onnxruntime-linux-x64-1.20.1/lib
|
22 |
|
23 |
+
RUN bash build_vad_go.sh
|
24 |
+
|
25 |
USER root
|
26 |
|
27 |
RUN chmod -R 777 .
|
install.sh
CHANGED
@@ -55,8 +55,8 @@ if [ ${stage} -le 0 ] && [ ${stop_stage} -ge 0 ]; then
|
|
55 |
# install onnxruntime
|
56 |
wget https://github.com/microsoft/onnxruntime/releases/download/v1.20.1/onnxruntime-linux-x64-1.20.1.tgz
|
57 |
tar -zxvf onnxruntime-linux-x64-1.20.1.tgz
|
58 |
-
export C_INCLUDE_PATH=$C_INCLUDE_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/include
|
59 |
-
export LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/lib
|
60 |
|
61 |
fi
|
62 |
|
|
|
55 |
# install onnxruntime
|
56 |
wget https://github.com/microsoft/onnxruntime/releases/download/v1.20.1/onnxruntime-linux-x64-1.20.1.tgz
|
57 |
tar -zxvf onnxruntime-linux-x64-1.20.1.tgz
|
58 |
+
# export C_INCLUDE_PATH=$C_INCLUDE_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/include
|
59 |
+
# export LIBRARY_PATH=$LIBRARY_PATH:$(pwd)/onnxruntime-linux-x64-1.20.1/lib
|
60 |
|
61 |
fi
|
62 |
|