Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
| 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.
|
| 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.
|
| 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.
|
| 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:
|