lewtun HF staff nouamanetazi HF staff commited on
Commit
3186756
1 Parent(s): 3f9b5a9

Add cache (#9)

Browse files

- Add cache (a76a12e26f2eb87f7b9b5231f01c547579e59147)


Co-authored-by: Nouamane Tazi <[email protected]>

Files changed (1) hide show
  1. app.py +1 -1
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