提交 829f1e33 编写于 作者: L lym0302

update readme, test=doc

上级 965b388c
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
paddlespeech_server help paddlespeech_server help
``` ```
### Start the server ### Start the server
First set the service-related configuration parameters, similar to `./conf/application.yaml`, First set the service-related configuration parameters, similar to `./conf/application.yaml`. Set `engine_list`, which represents the speech tasks included in the service to be started
Then start the service: Then start the service:
```bash ```bash
paddlespeech_server start --config_file ./conf/application.yaml paddlespeech_server start --config_file ./conf/application.yaml
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
``` ```
### Access speech recognition services ### Access speech recognition services
``` ```
paddlespeech_client asr --server_ip 127.0.0.1 --port 8090 --input ./tests/16_audio.wav paddlespeech_client asr --server_ip 127.0.0.1 --port 8090 --input input_16k.wav
``` ```
### Access text to speech services ### Access text to speech services
...@@ -31,3 +31,7 @@ ...@@ -31,3 +31,7 @@
paddlespeech_client tts --server_ip 127.0.0.1 --port 8090 --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav paddlespeech_client tts --server_ip 127.0.0.1 --port 8090 --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav
``` ```
### Access audio classification services
```bash
paddlespeech_client cls --server_ip 127.0.0.1 --port 8090 --input input.wav
```
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
paddlespeech_server help paddlespeech_server help
``` ```
### 启动服务 ### 启动服务
首先设置服务相关配置文件,类似于 `./conf/application.yaml`同时设置服务配置中的语音任务模型相关配置,类似于 `./conf/tts/tts.yaml` 首先设置服务相关配置文件,类似于 `./conf/application.yaml`设置 `engine_list`,该值表示即将启动的服务中包含的语音任务
然后启动服务: 然后启动服务:
```bash ```bash
paddlespeech_server start --config_file ./conf/application.yaml paddlespeech_server start --config_file ./conf/application.yaml
...@@ -30,3 +30,8 @@ ...@@ -30,3 +30,8 @@
```bash ```bash
paddlespeech_client tts --server_ip 127.0.0.1 --port 8090 --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav paddlespeech_client tts --server_ip 127.0.0.1 --port 8090 --input "你好,欢迎使用百度飞桨深度学习框架!" --output output.wav
``` ```
### 访问音频分类服务
```bash
paddlespeech_client cls --server_ip 127.0.0.1 --port 8090 --input input.wav
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册