Spaces:
Runtime error
Runtime error
Commit
•
3186756
1
Parent(s):
3f9b5a9
Add cache (#9)
Browse files- Add cache (a76a12e26f2eb87f7b9b5231f01c547579e59147)
Co-authored-by: Nouamane Tazi <[email protected]>
app.py
CHANGED
@@ -40,7 +40,7 @@ def download_submissions():
|
|
40 |
submissions.append(dataset)
|
41 |
return submissions
|
42 |
|
43 |
-
|
44 |
def format_submissions(submissions):
|
45 |
submission_data = {**{"Submitter": []}, **{"Submission Name": []}, **{"Submission Date": []}, **{t: [] for t in TASKS}}
|
46 |
|
|
|
40 |
submissions.append(dataset)
|
41 |
return submissions
|
42 |
|
43 |
+
@st.cache
|
44 |
def format_submissions(submissions):
|
45 |
submission_data = {**{"Submitter": []}, **{"Submission Name": []}, **{"Submission Date": []}, **{t: [] for t in TASKS}}
|
46 |
|