nazneen commited on
Commit
295dbc0
·
1 Parent(s): aef0f74

css styles

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -30,7 +30,7 @@ from streamlit_vega_lite import altair_component
30
 
31
  # utils
32
  from random import sample
33
- # from PIL import Image
34
 
35
 
36
  def down_samp(embedding):
@@ -97,7 +97,7 @@ def data_comparison(df):
97
  selection
98
  )
99
 
100
- layered = scatter |legend
101
 
102
  layered = layered.configure_axis(
103
  grid=False
@@ -223,7 +223,9 @@ def topic_distribution(weights, smoothing=0.01):
223
 
224
  if __name__ == "__main__":
225
  ### STREAMLIT APP CONGFIG ###
226
- st.set_page_config(layout="wide", page_title="Error Slice Analysis")
 
 
227
 
228
  lcol, rcol = st.columns([2, 2])
229
  # ******* loading the mode and the data
 
30
 
31
  # utils
32
  from random import sample
33
+ from error_analysis import utils as ut
34
 
35
 
36
  def down_samp(embedding):
 
97
  selection
98
  )
99
 
100
+ layered = legend | scatter
101
 
102
  layered = layered.configure_axis(
103
  grid=False
 
223
 
224
  if __name__ == "__main__":
225
  ### STREAMLIT APP CONGFIG ###
226
+ st.set_page_config(layout="wide", page_title="Error Analysis")
227
+
228
+ ut.init_style()
229
 
230
  lcol, rcol = st.columns([2, 2])
231
  # ******* loading the mode and the data