参考官网:
PaddleSpeech Server RESTful API
详细流程:
(一)安装paddlepaddle依赖库
去 飞桨PaddlePaddle-源于产业实践的开源深度学习平台 复制需要调用的命令
python -m pip install paddlepaddle==2.3.2 -i https://pypi.tuna.tsinghua.edu.cn/simple
如果提示timeout错误,可以参考python知识系列:pip install,提示 timeout 解决
(二)安装pytest-runner
pip install pytest-runner -i https://pypi.tuna.tsinghua.edu.cn/simple
(三)安装paddlespeech
pip install paddlespeech -i https://pypi.tuna.tsinghua.edu.cn/simple