update readme, test=doc

pull/1604/head
lym0302 4 years ago
parent 965b388c22
commit 829f1e332e

@ -10,7 +10,7 @@
paddlespeech_server help
```
### 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:
```bash
paddlespeech_server start --config_file ./conf/application.yaml
@ -23,7 +23,7 @@
```
### 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
@ -31,3 +31,7 @@
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 @@
paddlespeech_server help
```
### 启动服务
首先设置服务相关配置文件,类似于 `./conf/application.yaml`同时设置服务配置中的语音任务模型相关配置,类似于 `./conf/tts/tts.yaml`
首先设置服务相关配置文件,类似于 `./conf/application.yaml`设置 `engine_list`,该值表示即将启动的服务中包含的语音任务
然后启动服务:
```bash
paddlespeech_server start --config_file ./conf/application.yaml
@ -30,3 +30,8 @@
```bash
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
```

Loading…
Cancel
Save