lewtun HF staff commited on
Commit
bbf14f0
1 Parent(s): b8da65e

Rename card data to reflect bHub changes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def format_submissions(submissions):
52
  headers=header,
53
  )
54
  data = response.json()
55
- card_data = data["card_data"]
56
  username = card_data["submission_dataset"].split("/")[0]
57
  submission_data["Submitter"].append(username)
58
  submission_id = card_data["submission_id"]
 
52
  headers=header,
53
  )
54
  data = response.json()
55
+ card_data = data["cardData"]
56
  username = card_data["submission_dataset"].split("/")[0]
57
  submission_data["Submitter"].append(username)
58
  submission_id = card_data["submission_id"]