from dotenv import load_dotenv load_dotenv() from app import create_app import os app = create_app() if __name__ == "__main__": app.run( host=os.getenv("FLASK_HOST"), port=int(os.getenv("FLASK_PORT")), debug=os.getenv("FLASK_DEBUG") == "True" )