Spaces:
Sleeping
Sleeping
File size: 360 Bytes
5b5c1df 8161c55 5b5c1df 2962f9a ee6c830 03f7d90 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
from flask import Flask
from routes.home import home_bp
from routes.chat import chat_bp
from routes.profile import profile_bp
app = Flask(__name__)
app.register_blueprint(home_bp)
app.register_blueprint(chat_bp)
app.register_blueprint(profile_bp)
def create_app():
return app
if __name__ == '__main__':
app = create_app()
app.run(debug=True)
|