Spaces:
Runtime error
Runtime error
Try a different layout
Browse files
app.py
CHANGED
@@ -202,22 +202,25 @@ with gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main:
|
|
202 |
|
203 |
with gr.Row():
|
204 |
with gr.Tab('Leaderboard') as leaderboards_tab:
|
205 |
-
gr.
|
|
|
206 |
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
|
|
|
|
221 |
|
222 |
with gr.Tab('Model details'):
|
223 |
gr.Markdown(MORE_DETAILS_MARKDOWN)
|
|
|
202 |
|
203 |
with gr.Row():
|
204 |
with gr.Tab('Leaderboard') as leaderboards_tab:
|
205 |
+
with gr.Column():
|
206 |
+
gr.Markdown(LEADERBOARD_TAB_TITLE_MARKDOWN)
|
207 |
|
208 |
+
with gr.Row():
|
209 |
+
category_of_tasks = gr.Dropdown(
|
210 |
+
choices=[leaderboard_server.tasks_category_overall] + list(leaderboard_server.tasks_categories),
|
211 |
+
label="Category of benchmark",
|
212 |
+
interactive=True,
|
213 |
+
)
|
214 |
+
|
215 |
+
with gr.Row():
|
216 |
+
results_table = gr.DataFrame(
|
217 |
+
leaderboard_server.get_leaderboard(),
|
218 |
+
interactive=False,
|
219 |
+
label=None,
|
220 |
+
visible=True,
|
221 |
+
datatype="markdown",
|
222 |
+
elem_classes="leaderboard-table",
|
223 |
+
)
|
224 |
|
225 |
with gr.Tab('Model details'):
|
226 |
gr.Markdown(MORE_DETAILS_MARKDOWN)
|