Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -154,16 +154,6 @@ with tab1:
|
|
154 |
with st.container():
|
155 |
if 'data_export_freq' in st.session_state:
|
156 |
st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
|
157 |
-
|
158 |
-
if st.button("Prepare data export", key='data_export'):
|
159 |
-
st.session_state.data_export = working_seed.copy()
|
160 |
-
if 'data_export' in st.session_state:
|
161 |
-
st.download_button(
|
162 |
-
label="Export optimals set",
|
163 |
-
data=convert_df(st.session_state.data_export),
|
164 |
-
file_name='MLB_optimals_export.csv',
|
165 |
-
mime='text/csv',
|
166 |
-
)
|
167 |
|
168 |
elif site_var1 == 'Fanduel':
|
169 |
|
|
|
154 |
with st.container():
|
155 |
if 'data_export_freq' in st.session_state:
|
156 |
st.dataframe(st.session_state.data_export_freq.style.format(percentages_format, precision=2), height=500, use_container_width=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
elif site_var1 == 'Fanduel':
|
159 |
|