前提条件
python: 3.8.10文章来源地址https://www.toymoban.com/news/detail-812807.html
pip install paddlepaddle==2.4.2
安装PaddleSpeech
git clone -b r1.2 https://gitee.com/paddlepaddle/PaddleSpeech
cd PaddleSpeech
pip install pytest-runner -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple
pip install uvicorn==0.18.3
cd $HOME
wget -P data https://paddlespeech.bj.bcebos.com/Parakeet/tools/nltk_data.tar.gz
tar zxvf data/nltk_data.tar.gz
cd PaddleSpeech
paddlespeech_server start --config_file ./paddlespeech/server/conf/application.yaml
出现以下输出,表示服务开启成功
INFO: Started server process [4697]
[2022-07-29 14:19:03] [INFO] [server.py:75] Started server process [4697]
INFO: Waiting for application startup.
[2022-07-29 14:19:03] [INFO] [on.py:47] Waiting for application startup.
INFO: Application startup complete.
[2022-07-29 14:19:03] [INFO] [on.py:61] Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8090 (Press CTRL+C to quit)
[2022-07-29 14:19:03] [INFO] [server.py:212] Uvicorn running on http://0.0.0.0:8090 (Press CTRL+C to quit)
文章来源:https://www.toymoban.com/news/detail-812807.html
到了这里,关于安装PaddleSpeech的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!