Spaces:
Running
Running
James McCool
commited on
Commit
·
e4b151d
1
Parent(s):
d0d2f37
ping
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -16,7 +16,7 @@ def init_conn():
|
|
16 |
|
17 |
db = init_conn()
|
18 |
|
19 |
-
@st.cache_resource(ttl =
|
20 |
def init_baselines():
|
21 |
collection = db["HR_Table"]
|
22 |
cursor = collection.find()
|
|
|
16 |
|
17 |
db = init_conn()
|
18 |
|
19 |
+
@st.cache_resource(ttl = 60)
|
20 |
def init_baselines():
|
21 |
collection = db["HR_Table"]
|
22 |
cursor = collection.find()
|