this should functianally work
This commit is contained in:
3
main.py
3
main.py
@ -11,6 +11,7 @@ from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
config_file = "./config.json"
|
||||
BS = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.6/dist/css/bootstrap.min.css"
|
||||
|
||||
with open(config_file) as config_f:
|
||||
config=load(config_f)
|
||||
@ -21,7 +22,7 @@ def main() -> None:
|
||||
# load the data and create the data manager
|
||||
data = load_mtbf_data("data/blank.csv")
|
||||
|
||||
app = Dash(external_stylesheets=[dbc.themes.LUX])
|
||||
app = Dash(external_stylesheets=[BS])
|
||||
app.title = "Reliability Dashboard"
|
||||
app.layout = create_layout(app, data)
|
||||
app.run()
|
||||
|
Reference in New Issue
Block a user