Multichem commited on
Commit
908952d
·
1 Parent(s): 1c80a22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -101,6 +101,11 @@ with col1:
101
  game_model, just_win_probs, timestamp = init_baselines()
102
  t_stamp = f"Last Update: " + str(timestamp) + f" EST"
103
  view_var1 = st.radio("Would you like to view math and stuff or just the win percentages and margins?", ('Just win probs', 'Gimme details'), key='view_var1')
 
 
 
 
 
104
 
105
  with col2:
106
  if view_var1 == 'Just win probs':
 
101
  game_model, just_win_probs, timestamp = init_baselines()
102
  t_stamp = f"Last Update: " + str(timestamp) + f" EST"
103
  view_var1 = st.radio("Would you like to view math and stuff or just the win percentages and margins?", ('Just win probs', 'Gimme details'), key='view_var1')
104
+ view_var2 = st.radio("Would you like to view all books or specific ones?", ('All Books', 'Specific Books'), key='view_var2')
105
+ if view_var2 == 'All Books':
106
+ site_view = game_model.booksid.unique()
107
+ elif view_var2 == 'All Books':
108
+ site_view = st.multiselect("What books would you like included?", options = game_model.booksid.unique(), key='site_view')
109
 
110
  with col2:
111
  if view_var1 == 'Just win probs':