Spaces:
Running
Running
James McCool
commited on
Commit
·
cbc9066
1
Parent(s):
8e39e09
with to if
Browse files- src/streamlit_app.py +7 -7
src/streamlit_app.py
CHANGED
|
@@ -157,7 +157,7 @@ selected_tab = st.segmented_control(
|
|
| 157 |
key='tab_selector'
|
| 158 |
)
|
| 159 |
|
| 160 |
-
|
| 161 |
st.info(t_stamp)
|
| 162 |
if st.button("Reset Data", key='reset1'):
|
| 163 |
st.cache_data.clear()
|
|
@@ -190,7 +190,7 @@ with selected_tab == 'Game Betting Model':
|
|
| 190 |
key='team_export',
|
| 191 |
)
|
| 192 |
|
| 193 |
-
|
| 194 |
st.info(t_stamp)
|
| 195 |
if st.button("Reset Data", key='reset4'):
|
| 196 |
st.cache_data.clear()
|
|
@@ -230,7 +230,7 @@ with selected_tab == 'Prop Market':
|
|
| 230 |
mime='text/csv',
|
| 231 |
)
|
| 232 |
|
| 233 |
-
|
| 234 |
st.info(t_stamp)
|
| 235 |
if st.button("Reset Data", key='reset2'):
|
| 236 |
st.cache_data.clear()
|
|
@@ -258,7 +258,7 @@ with selected_tab == 'QB Projections':
|
|
| 258 |
key='NFL_qb_stats_export',
|
| 259 |
)
|
| 260 |
|
| 261 |
-
|
| 262 |
st.info(t_stamp)
|
| 263 |
if st.button("Reset Data", key='reset3'):
|
| 264 |
st.cache_data.clear()
|
|
@@ -286,7 +286,7 @@ with selected_tab == 'RB/WR/TE Projections':
|
|
| 286 |
key='NFL_nonqb_stats_export',
|
| 287 |
)
|
| 288 |
|
| 289 |
-
|
| 290 |
st.info(t_stamp)
|
| 291 |
if st.button("Reset Data", key='reset5'):
|
| 292 |
st.cache_data.clear()
|
|
@@ -317,7 +317,7 @@ with selected_tab == 'Player Prop Trends':
|
|
| 317 |
mime='text/csv',
|
| 318 |
)
|
| 319 |
|
| 320 |
-
|
| 321 |
st.info(t_stamp)
|
| 322 |
if st.button("Reset Data", key='reset6'):
|
| 323 |
st.cache_data.clear()
|
|
@@ -467,7 +467,7 @@ with selected_tab == 'Player Prop Simulations':
|
|
| 467 |
plot_hold_container = st.empty()
|
| 468 |
st.plotly_chart(fig, use_container_width=True)
|
| 469 |
|
| 470 |
-
|
| 471 |
st.info(t_stamp)
|
| 472 |
st.info('The Over and Under percentages are a compositve percentage based on simulations, historical performance, and implied probabilities, and may be different than you would expect based purely on the median projection. Likewise, the Edge of a bet is not the only indicator of if you should make the bet or not as the suggestion is using a base acceptable threshold to determine how much edge you should have for each stat category.')
|
| 473 |
if st.button("Reset Data/Load Data", key='reset7'):
|
|
|
|
| 157 |
key='tab_selector'
|
| 158 |
)
|
| 159 |
|
| 160 |
+
if selected_tab == 'Game Betting Model':
|
| 161 |
st.info(t_stamp)
|
| 162 |
if st.button("Reset Data", key='reset1'):
|
| 163 |
st.cache_data.clear()
|
|
|
|
| 190 |
key='team_export',
|
| 191 |
)
|
| 192 |
|
| 193 |
+
if selected_tab == 'Prop Market':
|
| 194 |
st.info(t_stamp)
|
| 195 |
if st.button("Reset Data", key='reset4'):
|
| 196 |
st.cache_data.clear()
|
|
|
|
| 230 |
mime='text/csv',
|
| 231 |
)
|
| 232 |
|
| 233 |
+
if selected_tab == 'QB Projections':
|
| 234 |
st.info(t_stamp)
|
| 235 |
if st.button("Reset Data", key='reset2'):
|
| 236 |
st.cache_data.clear()
|
|
|
|
| 258 |
key='NFL_qb_stats_export',
|
| 259 |
)
|
| 260 |
|
| 261 |
+
if selected_tab == 'RB/WR/TE Projections':
|
| 262 |
st.info(t_stamp)
|
| 263 |
if st.button("Reset Data", key='reset3'):
|
| 264 |
st.cache_data.clear()
|
|
|
|
| 286 |
key='NFL_nonqb_stats_export',
|
| 287 |
)
|
| 288 |
|
| 289 |
+
if selected_tab == 'Player Prop Trends':
|
| 290 |
st.info(t_stamp)
|
| 291 |
if st.button("Reset Data", key='reset5'):
|
| 292 |
st.cache_data.clear()
|
|
|
|
| 317 |
mime='text/csv',
|
| 318 |
)
|
| 319 |
|
| 320 |
+
if selected_tab == 'Player Prop Simulations':
|
| 321 |
st.info(t_stamp)
|
| 322 |
if st.button("Reset Data", key='reset6'):
|
| 323 |
st.cache_data.clear()
|
|
|
|
| 467 |
plot_hold_container = st.empty()
|
| 468 |
st.plotly_chart(fig, use_container_width=True)
|
| 469 |
|
| 470 |
+
if selected_tab == 'Stat Specific Simulations':
|
| 471 |
st.info(t_stamp)
|
| 472 |
st.info('The Over and Under percentages are a compositve percentage based on simulations, historical performance, and implied probabilities, and may be different than you would expect based purely on the median projection. Likewise, the Edge of a bet is not the only indicator of if you should make the bet or not as the suggestion is using a base acceptable threshold to determine how much edge you should have for each stat category.')
|
| 473 |
if st.button("Reset Data/Load Data", key='reset7'):
|