From 84de576f77735b0fa3c90ac99e05c853e5a81bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=BE=E8=81=AA?= Date: Thu, 29 Feb 2024 16:32:19 +0800 Subject: [PATCH] update deploy_tools --- runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh | 2 +- runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-zh.sh | 2 +- runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh b/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh index c596ff793..cdd50b574 100644 --- a/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh +++ b/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-en.sh @@ -1380,7 +1380,7 @@ sampleClientRun(){ run_cmd="${client_exec} --server-ip ${server_ip} --port ${host_port} --wav-path ${wav_path}" ;; Python) - client_exec="${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python/wss_client_asr.py" + client_exec="${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python/funasr_wss_client.py" run_cmd="python3 ${client_exec} --host ${server_ip} --port ${host_port} --mode offline --audio_in ${wav_path} --send_without_sleep --output_dir ${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python" pre_cmd="pip3 install click>=8.0.4" echo -e " Run ${BLUE}${pre_cmd}${PLAIN}" diff --git a/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-zh.sh b/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-zh.sh index 02c18ea85..d69bd251e 100644 --- a/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-zh.sh +++ b/runtime/deploy_tools/funasr-runtime-deploy-offline-cpu-zh.sh @@ -1455,7 +1455,7 @@ sampleClientRun(){ run_cmd="${client_exec} --server-ip ${server_ip} --port ${host_port} --wav-path ${wav_path}" ;; Python) - client_exec="${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python/wss_client_asr.py" + client_exec="${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python/funasr_wss_client.py" run_cmd="python3 ${client_exec} --host ${server_ip} --port ${host_port} --mode offline --audio_in ${wav_path} --send_without_sleep --output_dir ${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python" pre_cmd="pip3 install click>=8.0.4" echo -e " Run ${BLUE}${pre_cmd}${PLAIN}" diff --git a/runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh b/runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh index a1e999979..61d8a52e9 100644 --- a/runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh +++ b/runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh @@ -1380,7 +1380,7 @@ sampleClientRun(){ run_cmd="${client_exec} --server-ip ${server_ip} --port ${host_port} --wav-path ${wav_path}" ;; Python) - client_exec="${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python/wss_client_asr.py" + client_exec="${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python/funasr_wss_client.py" run_cmd="python3 ${client_exec} --host ${server_ip} --port ${host_port} --mode 2pass --audio_in ${wav_path} --send_without_sleep --output_dir ${PARAMS_FUNASR_SAMPLES_LOCAL_DIR}/python" pre_cmd="pip3 install click>=8.0.4" echo -e " Run ${BLUE}${pre_cmd}${PLAIN}"