James McCool
commited on
Commit
·
42a07c0
1
Parent(s):
89a1dc0
ping
Browse files
src/sim_func_hold/showdown_functions.py
CHANGED
|
@@ -6,7 +6,7 @@ from database import db
|
|
| 6 |
|
| 7 |
@st.cache_data(ttl = 599)
|
| 8 |
def init_DK_SD_seed_frames(slate, split, translation_dict):
|
| 9 |
-
|
| 10 |
collection = db[translation_dict[slate]]
|
| 11 |
cursor = collection.find().limit(split)
|
| 12 |
|
|
@@ -18,6 +18,7 @@ def init_DK_SD_seed_frames(slate, split, translation_dict):
|
|
| 18 |
|
| 19 |
@st.cache_data(ttl = 599)
|
| 20 |
def init_FD_SD_seed_frames(slate, split, translation_dict):
|
|
|
|
| 21 |
collection = db[translation_dict[slate]]
|
| 22 |
cursor = collection.find().limit(split)
|
| 23 |
|
|
|
|
| 6 |
|
| 7 |
@st.cache_data(ttl = 599)
|
| 8 |
def init_DK_SD_seed_frames(slate, split, translation_dict):
|
| 9 |
+
# Now dynamic
|
| 10 |
collection = db[translation_dict[slate]]
|
| 11 |
cursor = collection.find().limit(split)
|
| 12 |
|
|
|
|
| 18 |
|
| 19 |
@st.cache_data(ttl = 599)
|
| 20 |
def init_FD_SD_seed_frames(slate, split, translation_dict):
|
| 21 |
+
# Now dynamic
|
| 22 |
collection = db[translation_dict[slate]]
|
| 23 |
cursor = collection.find().limit(split)
|
| 24 |
|