James McCool commited on
Commit
0909cb6
·
1 Parent(s): 283dca5

Update lineup input constraints in app.py to limit user input for 'sharp_split_var' to a range between 10,000 and 500,000, enhancing data validation and user experience.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -200,7 +200,7 @@ with tab2:
200
 
201
  slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate'))
202
  site_var1 = st.radio("What site are you working with?", ('Draftkings', 'Fanduel'))
203
- sharp_split_var = st.number_input("How many lineups do you want?", value=10000, placeholder="Type a number under 500,000...")
204
 
205
  if site_var1 == 'Draftkings':
206
 
 
200
 
201
  slate_var1 = st.radio("Which data are you loading?", ('Main Slate', 'Secondary Slate'))
202
  site_var1 = st.radio("What site are you working with?", ('Draftkings', 'Fanduel'))
203
+ sharp_split_var = st.number_input("How many lineups do you want?", value=10000, max_value=500000, min_value=10000, step=10000)
204
 
205
  if site_var1 == 'Draftkings':
206