tcc/FlaskAPI/app.py

12 lines
266 B
Python
Raw Normal View History

from flask import Flask
from controllers.status import status_blueprint
from controllers.image import image_blueprint
app = Flask(__name__)
if __name__ == '__main__':
app.run()
#
app.register_blueprint(status_blueprint)
app.register_blueprint(image_blueprint)