Multichem commited on
Commit
dc7aba7
·
verified ·
1 Parent(s): 927d523

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -161,10 +161,10 @@ with tab1:
161
  mime='text/csv',
162
  )
163
  with st.container():
164
- if 'data_export_display' in st.session.state:
165
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
166
  with st.container():
167
- if 'data_export_freq' in st.session.state:
168
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
169
 
170
  elif site_var1 == 'Fanduel':
@@ -185,10 +185,10 @@ with tab1:
185
  mime='text/csv',
186
  )
187
  with st.container():
188
- if 'data_export_display' in st.session.state:
189
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
190
  with st.container():
191
- if 'data_export_freq' in st.session.state:
192
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
193
 
194
  with tab2:
 
161
  mime='text/csv',
162
  )
163
  with st.container():
164
+ if 'data_export_display' in st.session_state:
165
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
166
  with st.container():
167
+ if 'data_export_freq' in st.session_state:
168
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
169
 
170
  elif site_var1 == 'Fanduel':
 
185
  mime='text/csv',
186
  )
187
  with st.container():
188
+ if 'data_export_display' in st.session_state:
189
  st.dataframe(st.session_state.data_export_display.style.format(precision=2), height=500, use_container_width=True)
190
  with st.container():
191
+ if 'data_export_freq' in st.session_state:
192
  st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
193
 
194
  with tab2: