frascuchon HF staff commited on
Commit
9593b55
1 Parent(s): e1b2153

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -25,7 +25,10 @@ def get_progress(dataset: rg.Dataset) -> dict:
25
  "total": total,
26
  "annotated": completed,
27
  "progress": progress,
28
- "users": dataset_progress["users"]
 
 
 
29
  }
30
 
31
  def create_gauge_chart(progress):
 
25
  "total": total,
26
  "annotated": completed,
27
  "progress": progress,
28
+ "users": {
29
+ username: user_progress["completed"].get("submitted")
30
+ for username, user_progress in dataset_progress["users"].items()
31
+ }
32
  }
33
 
34
  def create_gauge_chart(progress):