from dash import Dash from index import layout, register_callbacks import os app = Dash(__name__, suppress_callback_exceptions=True) app.layout = layout # Register callbacks register_callbacks(app) if __name__ == '__main__': app.run_server(debug=False, host=os.environ.get("HOST") or "0.0.0.0", port=os.environ.get("PORT") or 8080)