From c1da014b3d23931bb4a81e4f34ddb61dfacb5cc3 Mon Sep 17 00:00:00 2001 From: zhifu gao <zhifu.gzf@alibaba-inc.com> Date: 星期日, 02 七月 2023 20:01:37 +0800 Subject: [PATCH] Update SDK_tutorial_zh.md --- README.md | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4338992..3969ac1 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,18 @@ | [**M2MET2.0 Challenge**](https://github.com/alibaba-damo-academy/FunASR#multi-channel-multi-party-meeting-transcription-20-m2met20-challenge) ## What's new: + +### FunASR runtime-SDK + +- 2023.07.02: +We have release the FunASR runtime-SDK-0.1.0, file transcription service (Mandarin) is now supported ([ZH](funasr/runtime/readme_cn.md)/[EN](funasr/runtime/readme.md)) + ### Multi-Channel Multi-Party Meeting Transcription 2.0 (M2MeT2.0) Challenge + We are pleased to announce that the M2MeT2.0 challenge has been accepted by the ASRU 2023 challenge special session. The registration is now open. The baseline system is conducted on FunASR and is provided as a receipe of AliMeeting corpus. For more details you can see the guidence of M2MET2.0 ([CN](https://alibaba-damo-academy.github.io/FunASR/m2met2_cn/index.html)/[EN](https://alibaba-damo-academy.github.io/FunASR/m2met2/index.html)). + ### Release notes + For the release notes, please ref to [news](https://github.com/alibaba-damo-academy/FunASR/releases) ## Highlights @@ -34,9 +43,9 @@ Install from pip ```shell -pip install -U funasr +pip3 install -U funasr # For the users in China, you could install with the command: -# pip install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple +# pip3 install -U funasr -i https://mirror.sjtu.edu.cn/pypi/web/simple ``` Or install from source code @@ -99,13 +108,14 @@ For the server: ```shell +cd funasr/runtime/python/websocket python wss_srv_asr.py --port 10095 ``` For the client: ```shell -python wss_client_asr.py --host "0.0.0.0" --port 10095 --mode 2pass --chunk_size "5,10,5" -#python wss_client_asr.py --host "0.0.0.0" --port 10095 --mode 2pass --chunk_size "8,8,4" --audio_in "./data/wav.scp" --output_dir "./results" +python wss_client_asr.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "5,10,5" +#python wss_client_asr.py --host "127.0.0.1" --port 10095 --mode 2pass --chunk_size "8,8,4" --audio_in "./data/wav.scp" --output_dir "./results" ``` More examples could be found in [docs](https://alibaba-damo-academy.github.io/FunASR/en/runtime/websocket_python.html#id2) ## Contact -- Gitblit v1.9.1