-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
34 lines (26 loc) · 842 Bytes
/
app.py
File metadata and controls
34 lines (26 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
"""Application entrypoint for the laundry grid Dash app."""
from __future__ import annotations
import dash
import dash_bootstrap_components as dbc
import dash_mantine_components as dmc
from laundry_app.callbacks import register_callbacks
from laundry_app.components import build_layout
app = dash.Dash(
__name__,
title="Laundry Lookup",
description="A Dash AG Grid app for comparing laundry detergent formulas.",
external_stylesheets=[dbc.themes.BOOTSTRAP],
external_scripts=[
{
"src": "https://plausible.automateordie.io/js/pa-ju6FKAd5xzT9Ac6UE0BMH.js",
"async": "async",
}
],
suppress_callback_exceptions=True,
)
dmc.pre_render_color_scheme()
app.layout = build_layout
register_callbacks(app)
server = app.server
if __name__ == "__main__":
app.run(debug=True)