Multichem commited on
Commit
fab547d
·
verified ·
1 Parent(s): b30704f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -254,13 +254,14 @@ with tab2:
254
  Contest_Size = 10000
255
  elif contest_var1 == 'Custom':
256
  Contest_Size = st.number_input("Insert contest size", value=None, placeholder="Type a number under 10,000...")
 
257
  strength_var1 = st.selectbox("How sharp is the field in the contest?", ('Very', 'Average', 'Not Very'))
258
  if strength_var1 == 'Not Very':
259
  sharp_split = 500000
260
  elif strength_var1 == 'Average':
261
- sharp_split = 250000
262
- elif strength_var1 == 'Very':
263
  sharp_split = 100000
 
 
264
 
265
 
266
  with col2:
 
254
  Contest_Size = 10000
255
  elif contest_var1 == 'Custom':
256
  Contest_Size = st.number_input("Insert contest size", value=None, placeholder="Type a number under 10,000...")
257
+ Contest_Size = Contest_Size.astype(int)
258
  strength_var1 = st.selectbox("How sharp is the field in the contest?", ('Very', 'Average', 'Not Very'))
259
  if strength_var1 == 'Not Very':
260
  sharp_split = 500000
261
  elif strength_var1 == 'Average':
 
 
262
  sharp_split = 100000
263
+ elif strength_var1 == 'Very':
264
+ sharp_split = 10000
265
 
266
 
267
  with col2: