之前已经:
且已经实现了集成百度语音合成了:
但是后来觉得发音有点chinglish,尤其是对于孩子来说,不够友好,所以还是去换成之前调研过的,相对发音更正宗的:
微软的bing的:
然后先去注册账号:
接着:
接着就是:
然后再去部署到在线服务器中,
倒是和之前的流程是一样的,此处,貌似只需要:
更新config.py和app.py代码,以及给之前的celery的配置中加上beat的配置
[program:robotDemo_CeleryWorker]
command=/root/.local/share/virtualenvs/robotDemo-dwdcgdaG/bin/celery worker -A app.celeryApp
directory=/root/naturling_20180101/web/server/robotDemo
autostart=true
autorestart=true
stdout_logfile=/root/naturling_20180101/web/server/robotDemo/logs/celery-worker-%(program_name)s-stdout.log
stdout_logfile_maxbytes=2MB
stdout_logfile_backups=10
stderr_logfile=/root/naturling_20180101/web/server/robotDemo/logs/celery-worker-%(program_name)s-stderr.log
stderr_logfile_maxbytes=2MB
stderr_logfile_backups=10
[program:robotDemo_CeleryBeat]
command=/root/.local/share/virtualenvs/robotDemo-dwdcgdaG/bin/celery beat -A app.celeryApp
directory=/root/naturling_20180101/web/server/robotDemo
autostart=true
autorestart=true
stdout_logfile=/root/naturling_20180101/web/server/robotDemo/logs/celery-beat-%(program_name)s-stdout.log
stdout_logfile_maxbytes=2MB
stdout_logfile_backups=10
stderr_logfile=/root/naturling_20180101/web/server/robotDemo/logs/celery-beat-%(program_name)s-stderr.log
stderr_logfile_maxbytes=2MB
stderr_logfile_backups=10
估计就可以了
另外,接着看看:
然后接着再去: