Spaces:
Runtime error
Runtime error
Commit
·
141ca68
1
Parent(s):
5f0046c
Update app.py
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ df["win_pct"] = (df["wins"] / (df["wins"] + df["draws"] + df["losses"])) * 100
|
|
86 |
# Get a list of all teams that have played in the last 24 hours
|
87 |
|
88 |
|
89 |
-
@st.
|
90 |
def fetch_owners():
|
91 |
"""
|
92 |
Fetch a list of all owners who have played in the matches, along with the number of teams they own
|
|
|
86 |
# Get a list of all teams that have played in the last 24 hours
|
87 |
|
88 |
|
89 |
+
@st.cache(ttl=1800)
|
90 |
def fetch_owners():
|
91 |
"""
|
92 |
Fetch a list of all owners who have played in the matches, along with the number of teams they own
|