now its working
This commit is contained in:
3
main.py
3
main.py
@ -4,6 +4,7 @@ from dash_bootstrap_components.themes import BOOTSTRAP
|
||||
|
||||
from src.components.layout import create_layout
|
||||
from src.data.loader_gz import load_spc_data
|
||||
#from src.data.loader_gz import load_transition_data
|
||||
from json import load
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
@ -17,7 +18,7 @@ with open(config_file) as config_f:
|
||||
def main() -> None:
|
||||
print(os.getenv("MY_ENV_VAR"))
|
||||
# load the data and create the data manager
|
||||
data = load_transaction_data(config["DATA_PATH"])
|
||||
data = load_spc_data(config["DATA_PATH"])
|
||||
|
||||
app = Dash(external_stylesheets=[BOOTSTRAP])
|
||||
app.title = "Reliability Dashboard"
|
||||
|
Reference in New Issue
Block a user