Spaces:
Sleeping
Sleeping
Rijgersberg
commited on
Commit
β’
175a411
1
Parent(s):
2e8bf47
Fix leaderboard
Browse files
app.py
CHANGED
@@ -234,7 +234,7 @@ def obtain_top_5_users(user_ids_annotations: Dict[str, int]) -> pd.DataFrame:
|
|
234 |
"""
|
235 |
|
236 |
dataframe = pd.DataFrame(
|
237 |
-
user_ids_annotations.items(), columns=["
|
238 |
)
|
239 |
dataframe["Name"] = dataframe["Name"].apply(render_hub_user_link)
|
240 |
dataframe = dataframe.sort_values(by="Submitted Responses", ascending=False)
|
|
|
234 |
"""
|
235 |
|
236 |
dataframe = pd.DataFrame(
|
237 |
+
user_ids_annotations.items(), columns=["Name", "Submitted Responses"]
|
238 |
)
|
239 |
dataframe["Name"] = dataframe["Name"].apply(render_hub_user_link)
|
240 |
dataframe = dataframe.sort_values(by="Submitted Responses", ascending=False)
|