Spaces:
Sleeping
Sleeping
Update app1.py
Browse files
app1.py
CHANGED
|
@@ -40,7 +40,7 @@ def get_creds():
|
|
| 40 |
# Google Sheets connection
|
| 41 |
@st.cache_data(ttl=300) # Cache for 5 minutes (same as refresh interval)
|
| 42 |
def load_data():
|
| 43 |
-
creds
|
| 44 |
client = gspread.authorize(creds)
|
| 45 |
|
| 46 |
sheet_id = '1J4YQEf8WvdlS3BjIOya0jsrPHolBEVodSAmhYF9XtSk'
|
|
|
|
| 40 |
# Google Sheets connection
|
| 41 |
@st.cache_data(ttl=300) # Cache for 5 minutes (same as refresh interval)
|
| 42 |
def load_data():
|
| 43 |
+
creds = get_creds()
|
| 44 |
client = gspread.authorize(creds)
|
| 45 |
|
| 46 |
sheet_id = '1J4YQEf8WvdlS3BjIOya0jsrPHolBEVodSAmhYF9XtSk'
|