# 项目根目录新建gunicorn.conf.py bind = "0.0.0.0:7860" workers = 1 # 单worker避免资源竞争 timeout = 120 # 延长超时时间 keepalive = 5