Spaces:
Running
Running
Commit
•
9593b55
1
Parent(s):
e1b2153
Update app.py
Browse files
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":
|
|
|
|
|
|
|
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):
|