Multichem commited on
Commit
0a55f44
·
verified ·
1 Parent(s): 76cdf34

Update app.py

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