Files
autoMate/server/main.py
2024-07-03 17:43:09 +08:00

18 lines
437 B
Python

from flask import Flask
def create_app():
app = Flask(__name__)
with app.app_context():
from route.code_executor import home_bp
app.register_blueprint(home_bp)
from route.shutdown import home_bp
app.register_blueprint(home_bp)
from route.llm import home_bp
app.register_blueprint(home_bp)
return app
if __name__ == "__main__":
app = create_app()
app.run(debug=True)