Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import gspread
|
|
| 6 |
import pymongo
|
| 7 |
import time
|
| 8 |
|
| 9 |
-
@st.
|
| 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 |
|