Heroku python应用程序崩溃

2024-09-27 09:35:21 发布

您现在位置:Python中文网/ 问答频道 /正文

所以,经过这么多的试用,我终于在heroku上部署了python应用程序,但是现在,这个应用程序无法运行。它在日志中返回一个错误,代码为“H10”,状态为503。在

我的应用程序副本只是

app = Flask(__name__)

@app.route('/')
def hello():
return "Hello world"

if __name__ = '__main__':
    app.run(debug = True)

我的要求.txt在

^{pr2}$

我的程序文件

web: gunicorn malicha:app --log-file=-

生成包

https://github.com/J-A-M-E-5/heroku14-buildpack-python-opencv-dlib.git


Tags: 代码nameapp应用程序flaskhelloherokureturn

热门问题