Multichem commited on
Commit
84ed131
·
verified ·
1 Parent(s): e9fca92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -399,6 +399,9 @@ with tab2:
399
  st.session_state.stack_freq = stack_working.copy()
400
 
401
  with st.container():
 
 
 
402
  if 'player_freq' in st.session_state:
403
  player_split_var2 = st.radio("Are you wanting to isolate any lineups with specific players?", ('Full Players', 'Specific Players'), key='player_split_var2')
404
  if player_split_var2 == 'Specific Players':
 
399
  st.session_state.stack_freq = stack_working.copy()
400
 
401
  with st.container():
402
+ if st.button("Reset Sim", key='reset_sim'):
403
+ for key in st.session_state.keys():
404
+ del st.session_state[key]
405
  if 'player_freq' in st.session_state:
406
  player_split_var2 = st.radio("Are you wanting to isolate any lineups with specific players?", ('Full Players', 'Specific Players'), key='player_split_var2')
407
  if player_split_var2 == 'Specific Players':