Multichem commited on
Commit
268513d
·
verified ·
1 Parent(s): 9dc1975

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_data(ttl = 599)
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 = 599)
10
  def init_conn():
11
  scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive']
12