Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ gcservice_account, uri = init_conn()
|
|
| 42 |
|
| 43 |
percentages_format = {'PG': '{:.2%}', 'SG': '{:.2%}', 'SF': '{:.2%}', 'PF': '{:.2%}', 'C': '{:.2%}'}
|
| 44 |
|
| 45 |
-
@st.cache_resource(ttl =
|
| 46 |
def init_baselines():
|
| 47 |
|
| 48 |
# Create a new client and connect to the server
|
|
|
|
| 42 |
|
| 43 |
percentages_format = {'PG': '{:.2%}', 'SG': '{:.2%}', 'SF': '{:.2%}', 'PF': '{:.2%}', 'C': '{:.2%}'}
|
| 44 |
|
| 45 |
+
@st.cache_resource(ttl = 600)
|
| 46 |
def init_baselines():
|
| 47 |
|
| 48 |
# Create a new client and connect to the server
|