James McCool commited on
Commit
53c2eab
·
1 Parent(s): e90bb19

Update database collection in pull_baselines() function

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ sim_all_hold = pd.DataFrame(columns=['Player', 'Prop Type', 'Prop', 'Mean_Outcom
32
 
33
  @st.cache_resource(ttl=200)
34
  def pull_baselines():
35
- collection = db["Player_Level_ROO"]
36
  cursor = collection.find()
37
  raw_display = pd.DataFrame(cursor)
38
  prop_display = raw_display[raw_display['Player'] != ""]
 
32
 
33
  @st.cache_resource(ttl=200)
34
  def pull_baselines():
35
+ collection = db["Prop_Betting_Table"]
36
  cursor = collection.find()
37
  raw_display = pd.DataFrame(cursor)
38
  prop_display = raw_display[raw_display['Player'] != ""]