From 799249154b736cf38a4dee4a95c622d72bdd13f4 Mon Sep 17 00:00:00 2001 From: 雾聪 <wucong.lyb@alibaba-inc.com> Date: 星期一, 21 八月 2023 13:05:32 +0800 Subject: [PATCH] update docs --- funasr/runtime/websocket/readme.md | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/funasr/runtime/websocket/readme.md b/funasr/runtime/websocket/readme.md index 12d255c..e43500f 100644 --- a/funasr/runtime/websocket/readme.md +++ b/funasr/runtime/websocket/readme.md @@ -116,6 +116,18 @@ --punc-dir ./export/damo/punc_ct-transformer_zh-cn-common-vocab272727-onnx ``` +##### Start the 2pass Service +```shell +./funasr-wss-server-2pass \ + --download-model-dir /workspace/models \ + --model-dir ./exportdamo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-onnx \ + --vad-dir ./exportdamo/speech_fsmn_vad_zh-cn-16k-common-onnx \ + --punc-dir ./export/damo/punc_ct-transformer_zh-cn-common-vocab272727-onnx \ + --online-model-dir ./exportdamo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-online \ + --quantize false +``` + + ### Client Usage @@ -157,7 +169,6 @@ ``` API-reference: - ```text --server-ip: The IP address of the machine where FunASR runtime-SDK service is deployed. The default value is the IP address of the local machine (127.0.0.1). If the client and service are not on the same server, it needs to be changed to the IP address of the deployment machine. --port: The port number of the deployed service is 10095. -- Gitblit v1.9.1