Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] change define asr server config to chunk asr config, test=doc #3067

Merged
merged 2 commits into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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