Spaces:
Sleeping
Sleeping
James McCool
commited on
Commit
·
dbdb1e2
1
Parent(s):
e66cf95
idk man, kind of a ping, this should be working
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ freq_format = {'Proj Own': '{:.2%}', 'Exposure': '{:.2%}', 'Edge': '{:.2%}'}
|
|
| 54 |
dk_columns = ['PG', 'SG', 'SF', 'PF', 'C', 'G', 'F', 'FLEX', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
|
| 55 |
fd_columns = ['PG1', 'PG2', 'SG1', 'SG2', 'SF1', 'SF2', 'PF1', 'PF2', 'C1', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
|
| 56 |
|
| 57 |
-
@st.cache_data(ttl =
|
| 58 |
def init_DK_seed_frames():
|
| 59 |
|
| 60 |
collection = db["DK_NBA_seed_frame"]
|
|
@@ -66,7 +66,7 @@ def init_DK_seed_frames():
|
|
| 66 |
|
| 67 |
return DK_seed
|
| 68 |
|
| 69 |
-
@st.cache_data(ttl =
|
| 70 |
def init_DK_secondary_seed_frames():
|
| 71 |
|
| 72 |
collection = db["DK_NBA_Secondary_seed_frame"]
|
|
@@ -78,7 +78,7 @@ def init_DK_secondary_seed_frames():
|
|
| 78 |
|
| 79 |
return DK_secondary
|
| 80 |
|
| 81 |
-
@st.cache_data(ttl =
|
| 82 |
def init_FD_seed_frames():
|
| 83 |
|
| 84 |
collection = db["FD_NBA_seed_frame"]
|
|
@@ -90,7 +90,7 @@ def init_FD_seed_frames():
|
|
| 90 |
|
| 91 |
return FD_seed
|
| 92 |
|
| 93 |
-
@st.cache_data(ttl =
|
| 94 |
def init_FD_secondary_seed_frames():
|
| 95 |
|
| 96 |
collection = db["FD_NBA_Secondary_seed_frame"]
|
|
|
|
| 54 |
dk_columns = ['PG', 'SG', 'SF', 'PF', 'C', 'G', 'F', 'FLEX', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
|
| 55 |
fd_columns = ['PG1', 'PG2', 'SG1', 'SG2', 'SF1', 'SF2', 'PF1', 'PF2', 'C1', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count', 'Own']
|
| 56 |
|
| 57 |
+
@st.cache_data(ttl = 300)
|
| 58 |
def init_DK_seed_frames():
|
| 59 |
|
| 60 |
collection = db["DK_NBA_seed_frame"]
|
|
|
|
| 66 |
|
| 67 |
return DK_seed
|
| 68 |
|
| 69 |
+
@st.cache_data(ttl = 300)
|
| 70 |
def init_DK_secondary_seed_frames():
|
| 71 |
|
| 72 |
collection = db["DK_NBA_Secondary_seed_frame"]
|
|
|
|
| 78 |
|
| 79 |
return DK_secondary
|
| 80 |
|
| 81 |
+
@st.cache_data(ttl = 300)
|
| 82 |
def init_FD_seed_frames():
|
| 83 |
|
| 84 |
collection = db["FD_NBA_seed_frame"]
|
|
|
|
| 90 |
|
| 91 |
return FD_seed
|
| 92 |
|
| 93 |
+
@st.cache_data(ttl = 300)
|
| 94 |
def init_FD_secondary_seed_frames():
|
| 95 |
|
| 96 |
collection = db["FD_NBA_Secondary_seed_frame"]
|