进入环境后 python 进入python交互式编辑 按顺序输入
from paddlespeech.cli.tts.infer import TTSExecutor
tts = TTSExecutor()
tts(text="今天天气十分不错。", output="output.wav")
即可进行文字转语音操作
Content type
Image
Digest
sha256:32400ed98…
Size
5.1 GB
Last updated
about 4 years ago
docker pull jlwl/paddlespeech:ubuntu1804