attila-balint-kul commited on
Commit
d87c759
1 Parent(s): e9ee3ac
Files changed (2) hide show
  1. app.py +3 -3
  2. components.py +1 -6
app.py CHANGED
@@ -8,12 +8,9 @@ from components import (
8
  logos,
9
  model_selector,
10
  header,
11
- overview_view,
12
  )
13
  import utils
14
 
15
- st.set_page_config(page_title="Electricity Demand Dashboard", layout="wide")
16
-
17
  PAGES = [
18
  "Buildings",
19
  "Models",
@@ -22,6 +19,9 @@ PAGES = [
22
  ]
23
 
24
 
 
 
 
25
  @st.cache_data(ttl=86400)
26
  def fetch_data():
27
  return utils.get_wandb_data(
 
8
  logos,
9
  model_selector,
10
  header,
 
11
  )
12
  import utils
13
 
 
 
14
  PAGES = [
15
  "Buildings",
16
  "Models",
 
19
  ]
20
 
21
 
22
+ st.set_page_config(page_title="Electricity Demand Dashboard", layout="wide")
23
+
24
+
25
  @st.cache_data(ttl=86400)
26
  def fetch_data():
27
  return utils.get_wandb_data(
components.py CHANGED
@@ -2,6 +2,7 @@ import pandas as pd
2
  import streamlit as st
3
  import plotly.express as px
4
 
 
5
  def header() -> None:
6
  st.title("EnFoBench - Electricity Demand")
7
  st.divider()
@@ -50,12 +51,6 @@ def model_selector(models: list[str]) -> set[str]:
50
  return models_to_plot
51
 
52
 
53
- def overview_view(data):
54
- st.markdown("""
55
- EnFoBench is a benchmarking framework for energy forecasting models. This dashboard provides an overview of the.
56
- """)
57
-
58
-
59
  def buildings_view(data):
60
  buildings = (
61
  data[
 
2
  import streamlit as st
3
  import plotly.express as px
4
 
5
+
6
  def header() -> None:
7
  st.title("EnFoBench - Electricity Demand")
8
  st.divider()
 
51
  return models_to_plot
52
 
53
 
 
 
 
 
 
 
54
  def buildings_view(data):
55
  buildings = (
56
  data[