From e0719c551ce7c95511ee9b7912323404c3b83ba5 Mon Sep 17 00:00:00 2001 From: lym0302 Date: Tue, 12 Jul 2022 09:04:08 +0000 Subject: [PATCH 1/2] update readme, test=doc --- demos/speech_server/README.md | 3 ++- demos/speech_server/README_cn.md | 3 ++- demos/streaming_asr_server/README.md | 3 ++- demos/streaming_asr_server/README_cn.md | 4 ++-- demos/streaming_tts_server/README.md | 3 ++- demos/streaming_tts_server/README_cn.md | 4 ++-- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/demos/speech_server/README.md b/demos/speech_server/README.md index 14a88f07..34f927fa 100644 --- a/demos/speech_server/README.md +++ b/demos/speech_server/README.md @@ -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` . diff --git a/demos/speech_server/README_cn.md b/demos/speech_server/README_cn.md index 29629b7e..6d887025 100644 --- a/demos/speech_server/README_cn.md +++ b/demos/speech_server/README_cn.md @@ -11,7 +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. 准备配置文件 diff --git a/demos/streaming_asr_server/README.md b/demos/streaming_asr_server/README.md index a770f58c..773d4957 100644 --- a/demos/streaming_asr_server/README.md +++ b/demos/streaming_asr_server/README.md @@ -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`. diff --git a/demos/streaming_asr_server/README_cn.md b/demos/streaming_asr_server/README_cn.md index c771869e..f9fd536e 100644 --- a/demos/streaming_asr_server/README_cn.md +++ b/demos/streaming_asr_server/README_cn.md @@ -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. 准备配置文件 diff --git a/demos/streaming_tts_server/README.md b/demos/streaming_tts_server/README.md index cbea6bf7..645bde86 100644 --- a/demos/streaming_tts_server/README.md +++ b/demos/streaming_tts_server/README.md @@ -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 diff --git a/demos/streaming_tts_server/README_cn.md b/demos/streaming_tts_server/README_cn.md index 3cd28170..c88e3196 100644 --- a/demos/streaming_tts_server/README_cn.md +++ b/demos/streaming_tts_server/README_cn.md @@ -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` 。 From 6c297c57dc9f2e488d74b3bf4b0a52c2ad585b4f Mon Sep 17 00:00:00 2001 From: TianYuan Date: Tue, 12 Jul 2022 17:11:19 +0800 Subject: [PATCH 2/2] Update README_cn.md --- demos/speech_server/README_cn.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/speech_server/README_cn.md b/demos/speech_server/README_cn.md index 6d887025..bcbb2cbe 100644 --- a/demos/speech_server/README_cn.md +++ b/demos/speech_server/README_cn.md @@ -3,7 +3,7 @@ # 语音服务 ## 介绍 -这个 demo 是一个启动离线语音服务和访问服务的实现。它可以通过使用`paddlespeech_server` 和 `paddlespeech_client`的单个命令或 python 的几行代码来实现。 +这个 demo 是一个启动离线语音服务和访问服务的实现。它可以通过使用`paddlespeech_server` 和 `paddlespeech_client` 的单个命令或 python 的几行代码来实现。 ## 使用方法 @@ -12,13 +12,13 @@ 推荐使用 **paddlepaddle 2.2.2** 或以上版本。 你可以从简单,中等,困难几种方式中选择一种方式安装 PaddleSpeech。 -**如果使用简单模式安装,需要自行准备 yaml 文件,可参考 conf 目录下的yaml 文件。** +**如果使用简单模式安装,需要自行准备 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 地址。