Multichem commited on
Commit
58264a7
·
verified ·
1 Parent(s): 016be9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -146,10 +146,10 @@ with tab1:
146
  mime='text/csv',
147
  )
148
  with st.container():
149
- if 'data_export_display' in st.session.state:
150
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
151
  with st.container():
152
- if 'data_export_freq' in st.session.state:
153
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
154
 
155
  elif site_var1 == 'Fanduel':
@@ -172,10 +172,10 @@ with tab1:
172
  mime='text/csv',
173
  )
174
  with st.container():
175
- if 'data_export_display' in st.session.state:
176
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
177
  with st.container():
178
- if 'data_export_freq' in st.session.state:
179
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
180
 
181
  with tab2:
 
146
  mime='text/csv',
147
  )
148
  with st.container():
149
+ if 'data_export_display' in st.session_state:
150
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
151
  with st.container():
152
+ if 'data_export_freq' in st.session_state:
153
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
154
 
155
  elif site_var1 == 'Fanduel':
 
172
  mime='text/csv',
173
  )
174
  with st.container():
175
+ if 'data_export_display' in st.session_state:
176
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
177
  with st.container():
178
+ if 'data_export_freq' in st.session_state:
179
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
180
 
181
  with tab2: