steffenc commited on
Commit
0c0d2bb
·
1 Parent(s): e60235b

Restructure package for deployment

Browse files
opendashboards/dashboard.py → dashboard.py RENAMED
File without changes
opendashboards/assets/inspect.py CHANGED
@@ -3,7 +3,6 @@ import streamlit as st
3
  import pandas as pd
4
  import opendashboards.utils.utils as utils
5
 
6
-
7
  @st.cache_data
8
  def explode_data(df):
9
  list_cols = utils.get_list_col_lengths(df)
 
3
  import pandas as pd
4
  import opendashboards.utils.utils as utils
5
 
 
6
  @st.cache_data
7
  def explode_data(df):
8
  list_cols = utils.get_list_col_lengths(df)
opendashboards/assets/io.py CHANGED
@@ -5,7 +5,8 @@ import streamlit as st
5
 
6
  import opendashboards.utils.utils as utils
7
 
8
- BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
9
 
10
  @st.cache_data
11
  def load_runs(project, filters, min_steps=10):
 
5
 
6
  import opendashboards.utils.utils as utils
7
 
8
+ BASE_DIR = '.'#os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
9
+ print(f'BASE_DIR = {BASE_DIR}')
10
 
11
  @st.cache_data
12
  def load_runs(project, filters, min_steps=10):
opendashboards/assets/metric.py CHANGED
@@ -1,5 +1,3 @@
1
- import os
2
- import re
3
  import time
4
  import pandas as pd
5
  import streamlit as st
 
 
 
1
  import time
2
  import pandas as pd
3
  import streamlit as st
opendashboards/assets/plot.py CHANGED
@@ -1,6 +1,6 @@
1
 
2
  import streamlit as st
3
- import utils.plotting as plotting
4
 
5
  # @st.cache_data
6
  def uid_diversty(df, rm_failed=True):
 
1
 
2
  import streamlit as st
3
+ import opendashboards.utils.plotting as plotting
4
 
5
  # @st.cache_data
6
  def uid_diversty(df, rm_failed=True):