From 580b11b57ac4b62f7e2acda73813a4e10e8e4cd3 Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期二, 10 十月 2023 17:17:29 +0800 Subject: [PATCH] v0.8.0 --- funasr/quick_start.md | 31 ++++++++++++++++++++++++++----- 1 files changed, 26 insertions(+), 5 deletions(-) diff --git a/funasr/quick_start.md b/funasr/quick_start.md index f608f98..202c709 100644 --- a/funasr/quick_start.md +++ b/funasr/quick_start.md @@ -26,28 +26,49 @@ python funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "5,10,5" ``` -For more examples, please refer to [docs](https://alibaba-damo-academy.github.io/FunASR/en/runtime/websocket_python.html#id2). +For more examples, please refer to [docs](runtime/python/websocket/README.md). ### C++ version Example Currently, offline file transcription service (CPU) is supported, and concurrent requests of hundreds of channels are supported. -#### Server Deployment +##### The real-time transcription service, Mandarin (CPU) +###### Server Deployment +You can use the following command to complete the deployment: +```shell +curl -O https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/shell/funasr-runtime-deploy-online-cpu-zh.sh +sudo bash funasr-runtime-deploy-online-cpu-zh.sh install --workspace ./funasr-runtime-resources +``` -You can use the following command to complete the deployment with one click: + +###### Client Testing +Testing [samples](https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/sample/funasr_samples.tar.gz) + +```shell +python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode 2pass +``` +For more examples, please refer to [docs](runtime/docs/SDK_tutorial_online_zh.md) + + +#### File Transcription Service, Mandarin (CPU) + +##### Server Deployment + +You can use the following command to complete the deployment: ```shell curl -O https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/shell/funasr-runtime-deploy-offline-cpu-zh.sh sudo bash funasr-runtime-deploy-offline-cpu-zh.sh install --workspace ./funasr-runtime-resources ``` -#### Client Testing +##### Client Testing +Testing [samples](https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/sample/funasr_samples.tar.gz) ```shell python3 funasr_wss_client.py --host "127.0.0.1" --port 10095 --mode offline --audio_in "../audio/asr_example.wav" ``` -For more examples, please refer to [docs](https://github.com/alibaba-damo-academy/FunASR/blob/main/funasr/runtime/docs/SDK_tutorial_zh.md) +For more examples, please refer to [docs](runtime/docs/SDK_tutorial_zh.md) ## Industrial Model Egs -- Gitblit v1.9.1