Multichem commited on
Commit
2f174b8
·
verified ·
1 Parent(s): 3207deb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import gspread
6
  import pymongo
7
  import time
8
 
9
- @st.cache_resource
10
  def init_conn():
11
  scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive']
12
 
 
6
  import pymongo
7
  import time
8
 
9
+ @st.cache_resource(ttl = 600)
10
  def init_conn():
11
  scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive']
12