Jonna Marie Matthiesen Claude Fable 5 commited on
Commit
336b0fe
·
1 Parent(s): c665bdc

Remove the hero subtitle

Browse files

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AGJFdqmf4AXcsYvb56LLCC

Files changed (3) hide show
  1. app.js +5 -1
  2. config.json +0 -1
  3. index.html +0 -1
app.js CHANGED
@@ -305,7 +305,11 @@ function metricCellHtml(val, isBest, extraClass) {
305
 
306
  // Hero
307
  if (config.title) document.getElementById("hero-title").innerHTML = config.title.replace(/^(.*?)(\s\S+)$/, '$1 <span class="accent">$2</span>');
308
- if (config.subtitle) document.getElementById("hero-sub").textContent = config.subtitle;
 
 
 
 
309
 
310
  // Sidebar: model families
311
  const familyNav = document.getElementById("family-nav");
 
305
 
306
  // Hero
307
  if (config.title) document.getElementById("hero-title").innerHTML = config.title.replace(/^(.*?)(\s\S+)$/, '$1 <span class="accent">$2</span>');
308
+ {
309
+ // The hero subtitle element only exists when a config subtitle needs one.
310
+ const heroSub = document.getElementById("hero-sub");
311
+ if (config.subtitle && heroSub) heroSub.textContent = config.subtitle;
312
+ }
313
 
314
  // Sidebar: model families
315
  const familyNav = document.getElementById("family-nav");
config.json CHANGED
@@ -1,6 +1,5 @@
1
  {
2
  "title": "Edge Inference Benchmarks",
3
- "subtitle": "Compare throughput and latency across devices and model variants.",
4
  "model_column": "model",
5
  "model_family_column": "model_family",
6
  "model_link_prefix": "https://huggingface.co/",
 
1
  {
2
  "title": "Edge Inference Benchmarks",
 
3
  "model_column": "model",
4
  "model_family_column": "model_family",
5
  "model_link_prefix": "https://huggingface.co/",
index.html CHANGED
@@ -27,7 +27,6 @@
27
  <header class="hero">
28
  <div class="hero-badge"><span>Embedl Models</span></div>
29
  <h1 id="hero-title">Edge Inference <span class="accent">Benchmarks</span></h1>
30
- <p class="hero-sub" id="hero-sub">Compare throughput and latency across devices and model variants.</p>
31
  </header>
32
 
33
  <!-- Accuracy Table -->
 
27
  <header class="hero">
28
  <div class="hero-badge"><span>Embedl Models</span></div>
29
  <h1 id="hero-title">Edge Inference <span class="accent">Benchmarks</span></h1>
 
30
  </header>
31
 
32
  <!-- Accuracy Table -->