diff --git a/Machine-Backend/run.py b/Machine-Backend/run.py index c7efd29..2ea786a 100644 --- a/Machine-Backend/run.py +++ b/Machine-Backend/run.py @@ -1,5 +1,6 @@ from app import create_app +app = create_app() # <-- moved here + if __name__ == '__main__': - app = create_app() - app.run(debug=True, port=5000) \ No newline at end of file + app.run(debug=True, port=5000)