Spaces:
Running
Running
Fix
Browse files
app.py
CHANGED
@@ -203,15 +203,6 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
|
|
203 |
datatype="markdown",
|
204 |
elem_classes="leaderboard-table",
|
205 |
)
|
206 |
-
for c in leaderboard_server.tasks_categories:
|
207 |
-
with gr.Tab(c):
|
208 |
-
results_table = gr.DataFrame(
|
209 |
-
leaderboard_server.get_leaderboard(),
|
210 |
-
interactive=False,
|
211 |
-
label=None,
|
212 |
-
visible=True,
|
213 |
-
elem_classes="leaderboard-table",
|
214 |
-
)
|
215 |
|
216 |
with gr.Tab('Model details'):
|
217 |
gr.Markdown(MORE_DETAILS_MARKDOWN)
|
|
|
203 |
datatype="markdown",
|
204 |
elem_classes="leaderboard-table",
|
205 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
207 |
with gr.Tab('Model details'):
|
208 |
gr.Markdown(MORE_DETAILS_MARKDOWN)
|
server.py
CHANGED
@@ -117,7 +117,7 @@ class LeaderboardServer:
|
|
117 |
+ [
|
118 |
col
|
119 |
for col in dataframe.columns
|
120 |
-
if col != "
|
121 |
]
|
122 |
)
|
123 |
dataframe = dataframe[df_order]
|
|
|
117 |
+ [
|
118 |
col
|
119 |
for col in dataframe.columns
|
120 |
+
if col != "model" and col not in self.tasks_metadata.keys()
|
121 |
]
|
122 |
)
|
123 |
dataframe = dataframe[df_order]
|