Spaces:
Running
Running
James McCool
commited on
Commit
·
80236b1
1
Parent(s):
9d43ef5
changing TTL
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -89,7 +89,7 @@ def add_column(df):
|
|
| 89 |
|
| 90 |
return export_df
|
| 91 |
|
| 92 |
-
@st.cache_resource(ttl =
|
| 93 |
def init_baselines():
|
| 94 |
collection = db["Game_Betting_Model"]
|
| 95 |
cursor = collection.find()
|
|
|
|
| 89 |
|
| 90 |
return export_df
|
| 91 |
|
| 92 |
+
@st.cache_resource(ttl = 60)
|
| 93 |
def init_baselines():
|
| 94 |
collection = db["Game_Betting_Model"]
|
| 95 |
cursor = collection.find()
|