From 89e244299c9a7b18b574c058148ddac96c2e9da7 Mon Sep 17 00:00:00 2001 From: 游雁 <zhifu.gzf@alibaba-inc.com> Date: 星期二, 08 八月 2023 16:49:04 +0800 Subject: [PATCH] docs --- funasr/quick_start.md | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/funasr/quick_start.md b/funasr/quick_start.md index 1e7f9c5..5731358 100644 --- a/funasr/quick_start.md +++ b/funasr/quick_start.md @@ -32,23 +32,43 @@ 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