Spaces:
Running
Running
Try to solve freeze after sort table and change category
Browse files
app.py
CHANGED
@@ -144,7 +144,7 @@ def fetch_model_detail(submission_id):
|
|
144 |
)
|
145 |
|
146 |
def change_leaderboard_category(category):
|
147 |
-
return gr.
|
148 |
value=leaderboard_server.get_leaderboard(category=category),
|
149 |
visible=True,
|
150 |
datatype="markdown",
|
|
|
144 |
)
|
145 |
|
146 |
def change_leaderboard_category(category):
|
147 |
+
return gr.DataFrame(
|
148 |
value=leaderboard_server.get_leaderboard(category=category),
|
149 |
visible=True,
|
150 |
datatype="markdown",
|