Spaces:
Runtime error
Runtime error
Add cache
#9
by
nouamanetazi
HF staff
- opened
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 |
|