Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -132,6 +132,8 @@ with tab1:
|
|
| 132 |
st.cache_data.clear()
|
| 133 |
rb_search = rb_util_season()
|
| 134 |
wr_search = wr_te_util_season()
|
|
|
|
|
|
|
| 135 |
macro_data = macro_pull()
|
| 136 |
stat_type_var1 = st.radio("What table are you loading?", ('Macro Table', 'RB Usage (Weekly)', 'WR/TE Usage (Weekly)', 'RB Usage (Season)', 'WR/TE Usage (Season)'), key='stat_type_var1')
|
| 137 |
split_var1 = st.radio("Are you running the the whole league or certain teams?", ('All Teams', 'Specific Teams'), key='split_var1')
|
|
@@ -186,11 +188,9 @@ with tab2:
|
|
| 186 |
col1, col2 = st.columns([1, 8])
|
| 187 |
|
| 188 |
with col1:
|
| 189 |
-
if st.button("Load/Reset Data", key='
|
| 190 |
st.cache_data.clear()
|
| 191 |
-
|
| 192 |
-
wr_search = wr_te_util_season()
|
| 193 |
-
macro_data = macro_pull()
|
| 194 |
stat_type_var2 = st.radio("What table are you loading?", ('WR/TE Coverage Matchups', 'Nothing idk lol'))
|
| 195 |
split_var2 = st.radio("Are you running the the whole league or certain teams?", ('All Teams', 'Specific Teams'))
|
| 196 |
pos_split2 = st.radio("Are you viewing all positions or specific positions?", ('All Positions', 'Specific Positions'))
|
|
|
|
| 132 |
st.cache_data.clear()
|
| 133 |
rb_search = rb_util_season()
|
| 134 |
wr_search = wr_te_util_season()
|
| 135 |
+
rb_season = rb_util_season()
|
| 136 |
+
wr_season = wr_te_util_season()
|
| 137 |
macro_data = macro_pull()
|
| 138 |
stat_type_var1 = st.radio("What table are you loading?", ('Macro Table', 'RB Usage (Weekly)', 'WR/TE Usage (Weekly)', 'RB Usage (Season)', 'WR/TE Usage (Season)'), key='stat_type_var1')
|
| 139 |
split_var1 = st.radio("Are you running the the whole league or certain teams?", ('All Teams', 'Specific Teams'), key='split_var1')
|
|
|
|
| 188 |
col1, col2 = st.columns([1, 8])
|
| 189 |
|
| 190 |
with col1:
|
| 191 |
+
if st.button("Load/Reset Data", key='reset2'):
|
| 192 |
st.cache_data.clear()
|
| 193 |
+
wr_matchups = coverage_matchups()
|
|
|
|
|
|
|
| 194 |
stat_type_var2 = st.radio("What table are you loading?", ('WR/TE Coverage Matchups', 'Nothing idk lol'))
|
| 195 |
split_var2 = st.radio("Are you running the the whole league or certain teams?", ('All Teams', 'Specific Teams'))
|
| 196 |
pos_split2 = st.radio("Are you viewing all positions or specific positions?", ('All Positions', 'Specific Positions'))
|