From 25663720e79e8870dcc7bd7567b90d5fb9c9f776 Mon Sep 17 00:00:00 2001
From: Yabin Li <wucong.lyb@alibaba-inc.com>
Date: 星期一, 19 六月 2023 23:42:01 +0800
Subject: [PATCH] Update readme.md
---
funasr/runtime/websocket/readme.md | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/funasr/runtime/websocket/readme.md b/funasr/runtime/websocket/readme.md
index a674d6b..e6a9819 100644
--- a/funasr/runtime/websocket/readme.md
+++ b/funasr/runtime/websocket/readme.md
@@ -51,8 +51,8 @@
```shell
cd bin
- ./funasr-wss-server [--model_thread_num <int>] [--decoder_thread_num <int>]
- [--io_thread_num <int>] [--port <int>] [--listen_ip
+./funasr-wss-server [--model-thread-num <int>] [--decoder-thread-num <int>]
+ [--io-thread-num <int>] [--port <int>] [--listen_ip
<string>] [--punc-quant <string>] [--punc-dir <string>]
[--vad-quant <string>] [--vad-dir <string>] [--quantize
<string>] --model-dir <string> [--keyfile <string>]
@@ -73,9 +73,9 @@
--punc-quant <string>
true (Default), load the model of model.onnx in punc_dir. If set true, load the model of model_quant.onnx in punc_dir
- --decoder_thread_num <int>
+ --decoder-thread-num <int>
number of threads for decoder, default:8
- --io_thread_num <int>
+ --io-thread-num <int>
number of threads for network io, default:8
--port <int>
listen port, default:8889
@@ -85,7 +85,7 @@
default: ../../../ssl_key/server.key, path of keyfile for WSS connection
example:
- funasr-wss-server --model-dir /FunASR/funasr/runtime/onnxruntime/export/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
+./funasr-wss-server --model-dir /FunASR/funasr/runtime/onnxruntime/export/damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch
```
## Run websocket client test
--
Gitblit v1.9.1