idolezal commited on
Commit
e82502a
β€’
1 Parent(s): ac4b2b4
Files changed (1) hide show
  1. app.py +12 -4
app.py CHANGED
@@ -134,6 +134,7 @@ footer {visibility: hidden}
134
 
135
  """
136
 
 
137
 
138
  with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main):
139
  with gr.Row():
@@ -142,10 +143,17 @@ with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main
142
 
143
  with gr.Row():
144
  with gr.Tab('Leaderboard') as leaderboards_tab:
145
- gr.Markdown(LEADERBOARD_TAB_TITLE_MARKDOWN)
146
- results_table = gr.DataFrame(leaderboard_server.get_leaderboard(), interactive=False, label=None,
147
- visible=True, elem_id="leaderboard-table")
148
-
 
 
 
 
 
 
 
149
  gr.Markdown(MORE_DETAILS_MARKDOWN)
150
  detail_dropdown = gr.Dropdown(choices=leaderboard_server.submission_ids, label="Select model",
151
  interactive=True)
 
134
 
135
  """
136
 
137
+ categories = ['Czech Math Reasoning', 'General Reasoning', 'Historical', 'Knowledge', 'Language Modeling', 'NER', 'NLI', 'Sentiment', 'Summarization', 'Syntactical Reasoning', 'Topic Classification']
138
 
139
  with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main):
140
  with gr.Row():
 
143
 
144
  with gr.Row():
145
  with gr.Tab('Leaderboard') as leaderboards_tab:
146
+ with gr.Tab("Overall"):
147
+ gr.Markdown(LEADERBOARD_TAB_TITLE_MARKDOWN)
148
+ results_table = gr.DataFrame(leaderboard_server.get_leaderboard(), interactive=False, label=None,
149
+ visible=True, elem_id="leaderboard-table")
150
+ for c in categories:
151
+ with gr.Tab(c):
152
+ gr.Markdown(LEADERBOARD_TAB_TITLE_MARKDOWN)
153
+ results_table = gr.DataFrame(leaderboard_server.get_leaderboard(), interactive=False, label=None,
154
+ visible=True, elem_id="leaderboard-table")
155
+
156
+ with gr.Tab('Model details'):
157
  gr.Markdown(MORE_DETAILS_MARKDOWN)
158
  detail_dropdown = gr.Dropdown(choices=leaderboard_server.submission_ids, label="Select model",
159
  interactive=True)