BenchmarkBot commited on
Commit
5721994
โ€ข
1 Parent(s): fda0b51

descriptive html

Browse files
Files changed (2) hide show
  1. app.py +11 -6
  2. src/assets/css_html_js.py +1 -4
app.py CHANGED
@@ -217,11 +217,12 @@ with demo:
217
  gr.HTML(TITLE)
218
 
219
  # introduction text
220
- gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
221
 
222
  # leaderboard tabs
223
  with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
224
- with gr.TabItem("๐Ÿ–ฅ๏ธ A100-80GB Leaderboar Table ๐Ÿ†", id=0):
 
225
  # Original leaderboard table
226
  A100_leaderboard = gr.components.Dataframe(
227
  value=A100_table,
@@ -230,7 +231,11 @@ with demo:
230
  elem_id="1xA100-table",
231
  )
232
 
233
- with gr.TabItem("๐Ÿ–ฅ๏ธ A100-80GB Interactive Plot ๐Ÿ“Š", id=2):
 
 
 
 
234
  # Original leaderboard plot
235
  A100_plotly = gr.components.Plot(
236
  value=A100_plot,
@@ -238,7 +243,7 @@ with demo:
238
  show_label=False,
239
  )
240
 
241
- with gr.TabItem("๐ŸŽฎ Control Panel ๐ŸŽ›๏ธ", id=3):
242
  # control panel interface
243
  with gr.Row():
244
  with gr.Column(scale=1):
@@ -298,8 +303,8 @@ with demo:
298
  elem_id="filter-button",
299
  )
300
 
301
- with gr.TabItem("๐Ÿ“– About โ”", id=4):
302
- gr.HTML(ABOUT_TEXT, elem_classes="html-text")
303
 
304
  demo.load(
305
  change_tab,
 
217
  gr.HTML(TITLE)
218
 
219
  # introduction text
220
+ gr.Markdown(INTRODUCTION_TEXT, elem_classes="descriptive-text")
221
 
222
  # leaderboard tabs
223
  with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
224
+ with gr.TabItem("๐Ÿ–ฅ๏ธ A100-80GB Benchmark ๐Ÿ†", id=0):
225
+ gr.HTML("๐Ÿ‘‰ Scroll right ๐Ÿ‘‰ to more columns.", elem_id="descriptive-text")
226
  # Original leaderboard table
227
  A100_leaderboard = gr.components.Dataframe(
228
  value=A100_table,
 
231
  elem_id="1xA100-table",
232
  )
233
 
234
+ with gr.TabItem("๐Ÿ–ฅ๏ธ A100-80GB Plot ๐Ÿ“Š", id=1):
235
+ gr.HTML(
236
+ "๐Ÿ‘† Hover over the points ๐Ÿ‘† to get more information about models.",
237
+ elem_id="descriptive-text",
238
+ )
239
  # Original leaderboard plot
240
  A100_plotly = gr.components.Plot(
241
  value=A100_plot,
 
243
  show_label=False,
244
  )
245
 
246
+ with gr.TabItem("Control Panel ๐ŸŽ›๏ธ", id=2):
247
  # control panel interface
248
  with gr.Row():
249
  with gr.Column(scale=1):
 
303
  elem_id="filter-button",
304
  )
305
 
306
+ with gr.TabItem("About ๐Ÿ“–", id=3):
307
+ gr.HTML(ABOUT_TEXT, elem_classes="descriptive-text")
308
 
309
  demo.load(
310
  change_tab,
src/assets/css_html_js.py CHANGED
@@ -1,8 +1,5 @@
1
  custom_css = """
2
- .markdown-text {
3
- font-size: 16px !important;
4
- }
5
- .html-text {
6
  font-size: 16px !important;
7
  }
8
 
 
1
  custom_css = """
2
+ .descriptive-text {
 
 
 
3
  font-size: 16px !important;
4
  }
5