安装:
pip install pandora-chatgpt[cloud]
运行:
pandora-cloud -s 0.0.0.0:8090
supervisor配置:
[program:pandora-8090]
directory = /tmp
command = /usr/local/anaconda3/bin/pandora-cloud -s 0.0.0.0:8090
numprocs=1
autostart = true
startsecs = 5
autorestart = true
startretries = 3
stopsignal=KILL
user = root
redirect_stderr = true
stdout_logfile_maxbytes = 100MB
stdout_logfile_backups = 20
stdout_logfile = /var/log/8090.log
阅读(472) | 评论(0) | 转发(0) |