Commit
•
b43278c
1
Parent(s):
03af56b
Update app.py
Browse files
app.py
CHANGED
@@ -185,7 +185,7 @@ def obtain_top_5_users(user_ids_annotations: Dict[str, int]) -> pd.DataFrame:
|
|
185 |
user_ids_annotations.items(), columns=["Name", "Submitted Responses"]
|
186 |
)
|
187 |
dataframe = dataframe.sort_values(by="Submitted Responses", ascending=False)
|
188 |
-
return dataframe.head(
|
189 |
|
190 |
|
191 |
def main() -> None:
|
@@ -250,7 +250,7 @@ def main() -> None:
|
|
250 |
gr.Markdown(
|
251 |
"""
|
252 |
## 👾 Contributors Hall of Fame
|
253 |
-
The number of all contributors and the top
|
254 |
"""
|
255 |
)
|
256 |
|
@@ -270,7 +270,7 @@ def main() -> None:
|
|
270 |
"str",
|
271 |
"number",
|
272 |
],
|
273 |
-
row_count=
|
274 |
col_count=(2, "fixed"),
|
275 |
interactive=False,
|
276 |
),
|
|
|
185 |
user_ids_annotations.items(), columns=["Name", "Submitted Responses"]
|
186 |
)
|
187 |
dataframe = dataframe.sort_values(by="Submitted Responses", ascending=False)
|
188 |
+
return dataframe.head(50)
|
189 |
|
190 |
|
191 |
def main() -> None:
|
|
|
250 |
gr.Markdown(
|
251 |
"""
|
252 |
## 👾 Contributors Hall of Fame
|
253 |
+
The number of all contributors and the top contributors:
|
254 |
"""
|
255 |
)
|
256 |
|
|
|
270 |
"str",
|
271 |
"number",
|
272 |
],
|
273 |
+
row_count=50,
|
274 |
col_count=(2, "fixed"),
|
275 |
interactive=False,
|
276 |
),
|