Skip to content

Commit

Permalink
Merge pull request PaddlePaddle#2139 from lym0302/updata_readme
Browse files Browse the repository at this point in the history
[server] update readme
  • Loading branch information
lym0302 authored Jul 12, 2022
2 parents e62cbc4 + 6c297c5 commit 30c2b5d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
3 changes: 2 additions & 1 deletion demos/speech_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This demo is an implementation of starting the voice service and accessing the s
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).

It is recommended to use **paddlepaddle 2.2.2** or above.
You can choose one way from meduim and hard to install paddlespeech.
You can choose one way from easy, meduim and hard to install paddlespeech.
**If you install in simple mode, you need to prepare the yaml file by yourself, you can refer to the yaml file in the conf directory.**

### 2. Prepare config File
The configuration file can be found in `conf/application.yaml` .
Expand Down
7 changes: 4 additions & 3 deletions demos/speech_server/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,22 @@
# 语音服务

## 介绍
这个 demo 是一个启动离线语音服务和访问服务的实现。它可以通过使用`paddlespeech_server``paddlespeech_client`的单个命令或 python 的几行代码来实现。
这个 demo 是一个启动离线语音服务和访问服务的实现。它可以通过使用`paddlespeech_server``paddlespeech_client` 的单个命令或 python 的几行代码来实现。


## 使用方法
### 1. 安装
请看 [安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).

推荐使用 **paddlepaddle 2.2.2** 或以上版本。
你可以从 medium,hard 两种方式中选择一种方式安装 PaddleSpeech。
你可以从简单,中等,困难几种方式中选择一种方式安装 PaddleSpeech。
**如果使用简单模式安装,需要自行准备 yaml 文件,可参考 conf 目录下的 yaml 文件。**


### 2. 准备配置文件
配置文件可参见 `conf/application.yaml`
其中,`engine_list`表示即将启动的服务将会包含的语音引擎,格式为 <语音任务>_<引擎类型>。
目前服务集成的语音任务有: asr(语音识别)、tts(语音合成)、cls(音频分类)、vector(声纹识别)以及text(文本处理)。
目前服务集成的语音任务有: asr(语音识别)、tts(语音合成)、cls(音频分类)、vector(声纹识别)以及 text(文本处理)。
目前引擎类型支持两种形式:python 及 inference (Paddle Inference)
**注意:** 如果在容器里可正常启动服务,但客户端访问 ip 不可达,可尝试将配置文件中 `host` 地址换成本地 ip 地址。

Expand Down
3 changes: 2 additions & 1 deletion demos/streaming_asr_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Streaming ASR server only support `websocket` protocol, and doesn't support `htt
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).

It is recommended to use **paddlepaddle 2.2.1** or above.
You can choose one way from meduim and hard to install paddlespeech.
You can choose one way from easy, meduim and hard to install paddlespeech.
**If you install in simple mode, you need to prepare the yaml file by yourself, you can refer to the yaml file in the conf directory.**

### 2. Prepare config File
The configuration file can be found in `conf/ws_application.yaml``conf/ws_conformer_wenetspeech_application.yaml`.
Expand Down
4 changes: 2 additions & 2 deletions demos/streaming_asr_server/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
安装 PaddleSpeech 的详细过程请看 [安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md)

推荐使用 **paddlepaddle 2.2.1** 或以上版本。
你可以从medium,hard 两种方式中选择一种方式安装 PaddleSpeech。

你可以从简单, 中等,困难 几种种方式中选择一种方式安装 PaddleSpeech。
**如果使用简单模式安装,需要自行准备 yaml 文件,可参考 conf 目录下的 yaml 文件。**

### 2. 准备配置文件

Expand Down
3 changes: 2 additions & 1 deletion demos/streaming_tts_server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ This demo is an implementation of starting the streaming speech synthesis servic
see [installation](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).

It is recommended to use **paddlepaddle 2.2.2** or above.
You can choose one way from meduim and hard to install paddlespeech.
You can choose one way from easy, meduim and hard to install paddlespeech.
**If you install in simple mode, you need to prepare the yaml file by yourself, you can refer to the yaml file in the conf directory.**


### 2. Prepare config File
Expand Down
4 changes: 2 additions & 2 deletions demos/streaming_tts_server/README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
请看 [安装文档](https://github.com/PaddlePaddle/PaddleSpeech/blob/develop/docs/source/install.md).

推荐使用 **paddlepaddle 2.2.2** 或以上版本。
你可以从 medium,hard 两种方式中选择一种方式安装 PaddleSpeech。

你可以从简单,中等,困难几种方式中选择一种方式安装 PaddleSpeech。
**如果使用简单模式安装,需要自行准备 yaml 文件,可参考 conf 目录下的 yaml 文件。**

### 2. 准备配置文件
配置文件可参见 `conf/tts_online_application.yaml`
Expand Down

0 comments on commit 30c2b5d

Please sign in to comment.