Skip to content

Commit

Permalink
[Doc] change define asr server config to chunk asr config, test=doc (P…
Browse files Browse the repository at this point in the history
…addlePaddle#3067)

* Update README.md

* Update README_cn.md
  • Loading branch information
zxcd authored and luotao1 committed Jun 11, 2024
1 parent cca95e1 commit 5b875fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions demos/streaming_asr_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This demo is an implementation of starting the streaming speech service and acce

Streaming ASR server only support `websocket` protocol, and doesn't support `http` protocol.

服务接口定义请参考:
For service interface definitions, please refer to:
- [PaddleSpeech Streaming Server WebSocket API](https://github.com/PaddlePaddle/PaddleSpeech/wiki/PaddleSpeech-Server-WebSocket-API)

## Usage
Expand All @@ -23,7 +23,7 @@ You can choose one way from easy, meduim and hard to install paddlespeech.
**If you install in easy mode, you need to prepare the yaml file by yourself, you can refer to

### 2. Prepare config File
The configuration file can be found in `conf/ws_application.yaml` `conf/ws_conformer_wenetspeech_application.yaml`.
The configuration file can be found in `conf/ws_application.yaml` or `conf/ws_conformer_wenetspeech_application.yaml`.

At present, the speech tasks integrated by the model include: DeepSpeech2 and conformer.

Expand Down Expand Up @@ -87,7 +87,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav
server_executor = ServerExecutor()
server_executor(
config_file="./conf/ws_conformer_wenetspeech_application.yaml",
config_file="./conf/ws_conformer_wenetspeech_application_faster.yaml",
log_file="./log/paddlespeech.log")
```

Expand Down
2 changes: 1 addition & 1 deletion demos/streaming_asr_server/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ wget -c https://paddlespeech.bj.bcebos.com/PaddleAudio/zh.wav
server_executor = ServerExecutor()
server_executor(
config_file="./conf/ws_conformer_wenetspeech_application",
config_file="./conf/ws_conformer_wenetspeech_application_faster.yaml",
log_file="./log/paddlespeech.log")
```

Expand Down

0 comments on commit 5b875fe

Please sign in to comment.