Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ dk_columns = ['SP1', 'SP2', 'C', '1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 's
|
|
40 |
fd_columns = ['P', 'C_1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 'UTIL', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count']
|
41 |
|
42 |
@st.cache_data(ttl = 599)
|
43 |
-
def init_seed_frames(
|
44 |
collection = database["DK_MLB_seed_frame"]
|
45 |
cursor = collection.find()
|
46 |
|
|
|
40 |
fd_columns = ['P', 'C_1B', '2B', '3B', 'SS', 'OF1', 'OF2', 'OF3', 'UTIL', 'salary', 'proj', 'Team', 'Team_count', 'Secondary', 'Secondary_count']
|
41 |
|
42 |
@st.cache_data(ttl = 599)
|
43 |
+
def init_seed_frames(_database):
|
44 |
collection = database["DK_MLB_seed_frame"]
|
45 |
cursor = collection.find()
|
46 |
|