Spaces:
Running
Running
James McCool
commited on
Commit
·
0134c99
1
Parent(s):
132cb49
adjusting variable name
Browse files- src/streamlit_app.py +15 -15
src/streamlit_app.py
CHANGED
|
@@ -98,10 +98,10 @@ with col1:
|
|
| 98 |
elif split_var2 == 'All':
|
| 99 |
team_var1 = view_var1
|
| 100 |
|
| 101 |
-
|
| 102 |
-
if
|
| 103 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 104 |
-
elif
|
| 105 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 106 |
|
| 107 |
proj_var1 = st.slider("Is there a certain projection range you want to view?", 0, 100, (10, 100), key='proj_var1')
|
|
@@ -115,10 +115,10 @@ with col1:
|
|
| 115 |
elif split_var2 == 'All':
|
| 116 |
team_var1 = view_var1
|
| 117 |
|
| 118 |
-
|
| 119 |
-
if
|
| 120 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 121 |
-
elif
|
| 122 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 123 |
|
| 124 |
elif split_var1 == 'Fantasy Trends':
|
|
@@ -130,10 +130,10 @@ with col1:
|
|
| 130 |
elif split_var2 == 'All':
|
| 131 |
team_var1 = view_var1
|
| 132 |
|
| 133 |
-
|
| 134 |
-
if
|
| 135 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 136 |
-
elif
|
| 137 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 138 |
|
| 139 |
elif split_var1 == 'FPPM Trends':
|
|
@@ -145,10 +145,10 @@ with col1:
|
|
| 145 |
elif split_var2 == 'All':
|
| 146 |
team_var1 = view_var1
|
| 147 |
|
| 148 |
-
|
| 149 |
-
if
|
| 150 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 151 |
-
elif
|
| 152 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 153 |
|
| 154 |
elif split_var1 == 'Slate specific':
|
|
@@ -160,10 +160,10 @@ with col1:
|
|
| 160 |
elif split_var2 == 'All':
|
| 161 |
team_var1 = view_var1
|
| 162 |
|
| 163 |
-
|
| 164 |
-
if
|
| 165 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 166 |
-
elif
|
| 167 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 168 |
|
| 169 |
proj_var1 = st.slider("Is there a certain projection range you want to view?", 0, 100, (10, 100), key='proj_var1')
|
|
|
|
| 98 |
elif split_var2 == 'All':
|
| 99 |
team_var1 = view_var1
|
| 100 |
|
| 101 |
+
split_var2 = st.radio("Would you like to view all positions or specific ones?", ('All', 'Specific Positions'), key='split_var2')
|
| 102 |
+
if split_var2 == 'Specific Positions':
|
| 103 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 104 |
+
elif split_var2 == 'All':
|
| 105 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 106 |
|
| 107 |
proj_var1 = st.slider("Is there a certain projection range you want to view?", 0, 100, (10, 100), key='proj_var1')
|
|
|
|
| 115 |
elif split_var2 == 'All':
|
| 116 |
team_var1 = view_var1
|
| 117 |
|
| 118 |
+
pos_var2 = st.radio("Would you like to view all positions or specific ones?", ('All', 'Specific Positions'), key='pos_var2')
|
| 119 |
+
if pos_var2 == 'Specific Positions':
|
| 120 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 121 |
+
elif pos_var2 == 'All':
|
| 122 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 123 |
|
| 124 |
elif split_var1 == 'Fantasy Trends':
|
|
|
|
| 130 |
elif split_var2 == 'All':
|
| 131 |
team_var1 = view_var1
|
| 132 |
|
| 133 |
+
pos_var2 = st.radio("Would you like to view all positions or specific ones?", ('All', 'Specific Positions'), key='pos_var2')
|
| 134 |
+
if pos_var2 == 'Specific Positions':
|
| 135 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 136 |
+
elif pos_var2 == 'All':
|
| 137 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 138 |
|
| 139 |
elif split_var1 == 'FPPM Trends':
|
|
|
|
| 145 |
elif split_var2 == 'All':
|
| 146 |
team_var1 = view_var1
|
| 147 |
|
| 148 |
+
pos_var2 = st.radio("Would you like to view all positions or specific ones?", ('All', 'Specific Positions'), key='pos_var2')
|
| 149 |
+
if pos_var2 == 'Specific Positions':
|
| 150 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 151 |
+
elif pos_var2 == 'All':
|
| 152 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 153 |
|
| 154 |
elif split_var1 == 'Slate specific':
|
|
|
|
| 160 |
elif split_var2 == 'All':
|
| 161 |
team_var1 = view_var1
|
| 162 |
|
| 163 |
+
pos_var2 = st.radio("Would you like to view all positions or specific ones?", ('All', 'Specific Positions'), key='pos_var2')
|
| 164 |
+
if pos_var2 == 'Specific Positions':
|
| 165 |
pos_var1 = st.multiselect('Which positions would you like to include in the tables?', options = ['PG', 'SG', 'SF', 'PF', 'C'], key='pos_var1')
|
| 166 |
+
elif pos_var2 == 'All':
|
| 167 |
pos_var1 = ['PG', 'SG', 'SF', 'PF', 'C']
|
| 168 |
|
| 169 |
proj_var1 = st.slider("Is there a certain projection range you want to view?", 0, 100, (10, 100), key='proj_var1')
|