提交 5d8446b1 编写于 作者: 小湉湉's avatar 小湉湉

rm big sources in demos

上级 664ee616
# Metaverse
You can make your favorite person say the specified content with the `TTS` mudule of `PaddleSpeech` and `PaddleGAN`, and construct your own virtual human.
Run the following command line to get started:
```
./run.sh
```
......@@ -29,6 +29,9 @@ if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then
unzip -d download download/pwg_baker_ckpt_0.4.zip
wget -P download https://paddlespeech.bj.bcebos.com/Parakeet/released_models/fastspeech2/fastspeech2_nosil_baker_ckpt_0.4.zip
unzip -d download download/fastspeech2_nosil_baker_ckpt_0.4.zip
# donload sources
wget -P dowload https://paddlespeech.bj.bcebos.com/demos/metaverse/Lamarr.png
fi
if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
......@@ -54,7 +57,7 @@ if [ ${stage} -le 4 ] && [ ${stop_stage} -ge 4 ]; then
CUDA_VISIBLE_DEVICES=${gpus} \
python3 PaddleGAN/applications/tools/wav2lip.py \
--checkpoint_path download/wav2lip_hq.pdparams \
--face Lamarr.png \
--face dowload/Lamarr.png \
--audio output/wavs/000.wav \
--outfile output/tts_lips.mp4 \
--face_enhancement
......
# Story Talker
You can use `PaddleOCR` to get the text of a storybook, and read it by the `TTS` mudule of `PaddleSpeech`.
Run the following command line to get started:
```
./run.sh
```
......@@ -23,12 +23,15 @@ if [ ${stage} -le 1 ] && [ ${stop_stage} -ge 1 ]; then
unzip -d download download/pwg_baker_ckpt_0.4.zip
wget -P download https://paddlespeech.bj.bcebos.com/Parakeet/released_models/fastspeech2/fastspeech2_nosil_baker_ckpt_0.4.zip
unzip -d download download/fastspeech2_nosil_baker_ckpt_0.4.zip
# download sources
wget -P download https://paddlespeech.bj.bcebos.com/demos/story_talker/simfang.ttf
wget -P download/imgs https://paddlespeech.bj.bcebos.com/demos/story_talker/000.jpg
fi
if [ ${stage} -le 2 ] && [ ${stop_stage} -ge 2 ]; then
# run ocr
CUDA_VISIBLE_DEVICES=${gpus} \
python3 ocr.py --img-dir=imgs --output-dir=output --font-path=simfang.ttf
python3 ocr.py --img-dir=download/imgs --output-dir=output --font-path=download/simfang.ttf
fi
if [ ${stage} -le 3 ] && [ ${stop_stage} -ge 3 ]; then
......
......@@ -132,4 +132,3 @@ popd
- Make sure these libraries or tools in [dependencies](./dependencies.md) installed. More information please see: `setup.py `and `tools/Makefile`.
- The version of `swig` should >= 3.0
- we will simplify the install process in the future.
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册