Multichem commited on
Commit
92b8c95
·
verified ·
1 Parent(s): 1d9da06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ gcservice_account, client, db = init_conn()
44
 
45
  percentages_format = {'PG': '{:.2%}', 'SG': '{:.2%}', 'SF': '{:.2%}', 'PF': '{:.2%}', 'C': '{:.2%}'}
46
 
47
- @st.cache_resource(ttl = 600)
48
  def init_baselines():
49
  collection = db["MLB_Hitters_DB"]
50
  cursor = collection.find() # Finds all documents in the collection
 
44
 
45
  percentages_format = {'PG': '{:.2%}', 'SG': '{:.2%}', 'SF': '{:.2%}', 'PF': '{:.2%}', 'C': '{:.2%}'}
46
 
47
+ @st.cache_resource(ttl = 599)
48
  def init_baselines():
49
  collection = db["MLB_Hitters_DB"]
50
  cursor = collection.find() # Finds all documents in the collection