未验证 提交 5270fda5 编写于 作者: 小湉湉's avatar 小湉湉 提交者: GitHub

[docs]update readme (#3043)

上级 706a68bd
......@@ -10,7 +10,7 @@
### 安装依赖
```
```bash
# Ubuntu
sudo apt install build-essential cmake pkg-config wget tar unzip
......@@ -25,15 +25,13 @@ sudo yum install cmake wget tar unzip
可用以下命令下载:
```
git clone https://github.com/PaddlePaddle/PaddleSpeech.git
cd PaddleSpeech/demos/TTSArmLinux
```bash
./download.sh
```
### 编译 Demo
```
```bash
./build.sh
```
......@@ -43,7 +41,9 @@ cd PaddleSpeech/demos/TTSArmLinux
### 运行
```
你可以修改 `./front.conf``--phone2id_path` 参数为你自己的声学模型的 `phone_id_map.txt`
```bash
./run.sh
./run.sh --sentence "语音合成测试"
./run.sh --sentence "输出到指定的音频文件" --output_wav ./output/test.wav
......
......@@ -6,7 +6,7 @@ Currently it only supports Chinese, any English word will crash the demo.
## Install Build Tools
```
```bash
# Ubuntu
sudo apt install build-essential cmake pkg-config
......@@ -19,7 +19,7 @@ If your cmake version is too old, you can go here to download a precompiled new
## Build
```
```bash
# Build with all CPU cores
./build.sh
......@@ -33,14 +33,14 @@ If the download speed is too slow, you can open [third-party/CMakeLists.txt](thi
## Download dictionary files
```
```bash
./download.sh
```
## Run
You can change `--phone2id_path` in `./front_demo/front.conf` to the `phone_id_map.txt` of your own acoustic model.
```
```bash
./run_front_demo.sh
./run_front_demo.sh --help
./run_front_demo.sh --sentence "这是语音合成服务的文本前端,用于将文本转换为音素序号数组。"
......@@ -49,7 +49,7 @@ You can change `--phone2id_path` in `./front_demo/front.conf` to the `phone_id_m
## Clean
```
```bash
./clean.sh
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册