from app import create_app app = create_app() if __name__ == "__main__": # 仅供本地开发使用,生产环境请使用 gunicorn 等 WSGI 服务器 app.run(host="0.0.0.0", port=5000, debug=True)