BenchmarkBot commited on
Commit
527deaa
β€’
1 Parent(s): c796580

added some html to tabs

Browse files
Files changed (2) hide show
  1. app.py +4 -4
  2. src/assets/text_content.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from apscheduler.schedulers.background import BackgroundScheduler
7
  from src.assets.text_content import (
8
  TITLE,
9
  INTRODUCTION_TEXT,
10
- SINGLE_A100_TEXT,
11
  CITATION_BUTTON_LABEL,
12
  CITATION_BUTTON_TEXT,
13
  )
@@ -284,10 +284,10 @@ with demo:
284
 
285
  # leaderboard tabs
286
  with gr.Tabs(elem_classes="hardware-tabs"):
287
- with gr.TabItem("πŸ–₯️ A100-80GB πŸ–₯️", id=0):
288
  with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
289
  with gr.TabItem("πŸ… Leaderboard πŸ†", id=0):
290
- gr.HTML(SINGLE_A100_TEXT)
291
 
292
  # Original leaderboard table
293
  A100_leaderboard = gr.components.Dataframe(
@@ -299,7 +299,7 @@ with demo:
299
 
300
  with gr.TabItem("πŸ“‰ Plot πŸ“Š", id=1):
301
  # Original leaderboard plot
302
- gr.HTML(SINGLE_A100_TEXT)
303
 
304
  # Original leaderboard plot
305
  A100_plotly = gr.components.Plot(
 
7
  from src.assets.text_content import (
8
  TITLE,
9
  INTRODUCTION_TEXT,
10
+ A100_TEXT,
11
  CITATION_BUTTON_LABEL,
12
  CITATION_BUTTON_TEXT,
13
  )
 
284
 
285
  # leaderboard tabs
286
  with gr.Tabs(elem_classes="hardware-tabs"):
287
+ with gr.TabItem("<h1>πŸ–₯️ A100-80GB πŸ–₯️<h1>", id=0):
288
  with gr.Tabs(elem_classes="A100-tabs") as A100_tabs:
289
  with gr.TabItem("πŸ… Leaderboard πŸ†", id=0):
290
+ gr.HTML(A100_TEXT)
291
 
292
  # Original leaderboard table
293
  A100_leaderboard = gr.components.Dataframe(
 
299
 
300
  with gr.TabItem("πŸ“‰ Plot πŸ“Š", id=1):
301
  # Original leaderboard plot
302
+ gr.HTML(A100_TEXT)
303
 
304
  # Original leaderboard plot
305
  A100_plotly = gr.components.Plot(
src/assets/text_content.py CHANGED
@@ -8,7 +8,7 @@ Anyone from the community can request a model or a hardware/backend/optimization
8
  - Hardware/Backend/Optimization performance requests should be made in the [community discussions](https://huggingface.co/spaces/optimum/llm-perf-leaderboard/discussions) to assess their relevance and feasibility.
9
  """
10
 
11
- SINGLE_A100_TEXT = """<h3>Single-GPU Benchmark (1xA100):</h3>
12
  <ul>
13
  <li>Singleton Batch (1)</li>
14
  <li>Thousand Tokens (1000)</li>
 
8
  - Hardware/Backend/Optimization performance requests should be made in the [community discussions](https://huggingface.co/spaces/optimum/llm-perf-leaderboard/discussions) to assess their relevance and feasibility.
9
  """
10
 
11
+ A100_TEXT = """<h3>Single-GPU Benchmark (1xA100):</h3>
12
  <ul>
13
  <li>Singleton Batch (1)</li>
14
  <li>Thousand Tokens (1000)</li>