提交 156e324b 编写于 作者: H huangyuxin

注释了sever.sh的17-21行

上级 6076197b
...@@ -15,10 +15,10 @@ if [ $? -ne 0 ]; then ...@@ -15,10 +15,10 @@ if [ $? -ne 0 ]; then
fi fi
# download well-trained model # download well-trained model
bash local/download_model.sh #bash local/download_model.sh
if [ $? -ne 0 ]; then #if [ $? -ne 0 ]; then
exit 1 # exit 1
fi #fi
# start demo server # start demo server
CUDA_VISIBLE_DEVICES=0 \ CUDA_VISIBLE_DEVICES=0 \
...@@ -29,7 +29,7 @@ python3 -u ${BIN_DIR}/deploy/server.py \ ...@@ -29,7 +29,7 @@ python3 -u ${BIN_DIR}/deploy/server.py \
--host_ip="localhost" \ --host_ip="localhost" \
--host_port=8086 \ --host_port=8086 \
--speech_save_dir="demo_cache" \ --speech_save_dir="demo_cache" \
--checkpoint_path ${1} --checkpoint_path ${1}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Failed in starting demo server!" echo "Failed in starting demo server!"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册