idolezal commited on
Commit
27b6247
β€’
1 Parent(s): 7c14c59

Moved title of leaderboard view

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. content.py +1 -3
app.py CHANGED
@@ -143,13 +143,13 @@ with (gr.Blocks(theme=gr.themes.Soft(text_size=text_md), css=custom_css) as main
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_classes="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_classes="leaderboard-table")
155
 
 
143
 
144
  with gr.Row():
145
  with gr.Tab('Leaderboard') as leaderboards_tab:
146
+ gr.Markdown(LEADERBOARD_TAB_TITLE_MARKDOWN)
147
+
148
  with gr.Tab("Overall"):
 
149
  results_table = gr.DataFrame(leaderboard_server.get_leaderboard(), interactive=False, label=None,
150
  visible=True, elem_classes="leaderboard-table")
151
  for c in categories:
152
  with gr.Tab(c):
 
153
  results_table = gr.DataFrame(leaderboard_server.get_leaderboard(), interactive=False, label=None,
154
  visible=True, elem_classes="leaderboard-table")
155
 
content.py CHANGED
@@ -9,8 +9,6 @@ HEADER_MARKDOWN = """
9
 
10
  LEADERBOARD_TAB_TITLE_MARKDOWN = """
11
  ## Leaderboard
12
- The leaderboard below shows number of significant wins for each model followed by specific metrics...
13
-
14
  """
15
 
16
  SUBMISSION_TAB_TITLE_MARKDOWN = """
@@ -39,4 +37,4 @@ MORE_DETAILS_MARKDOWN = """
39
 
40
  MODAL_SUBMIT_MARKDOWN = """
41
  Are you sure you want to submit your model?
42
- """
 
9
 
10
  LEADERBOARD_TAB_TITLE_MARKDOWN = """
11
  ## Leaderboard
 
 
12
  """
13
 
14
  SUBMISSION_TAB_TITLE_MARKDOWN = """
 
37
 
38
  MODAL_SUBMIT_MARKDOWN = """
39
  Are you sure you want to submit your model?
40
+ """