idolezal commited on
Commit
dfcec3a
1 Parent(s): 1b0a7e3
Files changed (1) hide show
  1. app.py +15 -17
app.py CHANGED
@@ -202,24 +202,22 @@ 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
- with gr.Row():
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
- results_table = gr.DataFrame(
216
- leaderboard_server.get_leaderboard(),
217
- interactive=False,
218
- label=None,
219
- visible=True,
220
- datatype="markdown",
221
- elem_classes="leaderboard-table",
222
- )
223
 
224
  with gr.Tab('Model details'):
225
  gr.Markdown(MORE_DETAILS_MARKDOWN)
 
202
 
203
  with gr.Row():
204
  with gr.Tab('Leaderboard') as leaderboards_tab:
205
+ gr.Markdown(LEADERBOARD_TAB_TITLE_MARKDOWN)
 
206
 
207
+ category_of_tasks = gr.Dropdown(
208
+ choices=[leaderboard_server.tasks_category_overall] + list(leaderboard_server.tasks_categories),
209
+ label="Category of benchmark",
210
+ interactive=True,
211
+ )
212
+
213
+ results_table = gr.DataFrame(
214
+ leaderboard_server.get_leaderboard(),
215
+ interactive=False,
216
+ label=None,
217
+ visible=True,
218
+ datatype="markdown",
219
+ elem_classes="leaderboard-table",
220
+ )
 
221
 
222
  with gr.Tab('Model details'):
223
  gr.Markdown(MORE_DETAILS_MARKDOWN)