davanstrien HF Staff commited on
Commit
0533e58
·
verified ·
1 Parent(s): 54e6180

Stop 'Marlin-2B' breaking across lines

Browse files

A hyphen is a legal break opportunity, so the model name was splitting into
'Marlin-' / '2B'. nowrap on the two links that carry it.

Files changed (2) hide show
  1. app.py +2 -2
  2. static/app.css +3 -0
app.py CHANGED
@@ -181,7 +181,7 @@ def page() -> str:
181
  <p>{DATA.n_films:,} public-domain films from the
182
  <a href="https://archive.org/details/prelinger" target="_blank" rel="noopener">Prelinger
183
  Archives</a>, annotated minute by minute with
184
- <a href="https://huggingface.co/NemoStation/Marlin-2B" target="_blank" rel="noopener">Marlin-2B</a>
185
  — an open video model trained for dense captioning and temporal grounding. This Space
186
  searches the {DATA.n_moments:,} descriptions it produced; results play from the moment
187
  described.</p>
@@ -229,7 +229,7 @@ def page() -> str:
229
  leaving human description for the context and interpretation that actually needs it.</p>
230
 
231
  <p>Every ~60 seconds of these 1,864 public-domain films was described by
232
- <a href="https://huggingface.co/NemoStation/Marlin-2B" target="_blank" rel="noopener">Marlin-2B</a>,
233
  a small video model, run on
234
  <a href="https://huggingface.co/docs/huggingface_hub/guides/jobs" target="_blank" rel="noopener">Hugging Face Jobs</a>
235
  with a <a href="https://huggingface.co/datasets/uv-scripts/video" target="_blank" rel="noopener">public recipe</a>
 
181
  <p>{DATA.n_films:,} public-domain films from the
182
  <a href="https://archive.org/details/prelinger" target="_blank" rel="noopener">Prelinger
183
  Archives</a>, annotated minute by minute with
184
+ <a class="nb" href="https://huggingface.co/NemoStation/Marlin-2B" target="_blank" rel="noopener">Marlin-2B</a>
185
  — an open video model trained for dense captioning and temporal grounding. This Space
186
  searches the {DATA.n_moments:,} descriptions it produced; results play from the moment
187
  described.</p>
 
229
  leaving human description for the context and interpretation that actually needs it.</p>
230
 
231
  <p>Every ~60 seconds of these 1,864 public-domain films was described by
232
+ <a class="nb" href="https://huggingface.co/NemoStation/Marlin-2B" target="_blank" rel="noopener">Marlin-2B</a>,
233
  a small video model, run on
234
  <a href="https://huggingface.co/docs/huggingface_hub/guides/jobs" target="_blank" rel="noopener">Hugging Face Jobs</a>
235
  with a <a href="https://huggingface.co/datasets/uv-scripts/video" target="_blank" rel="noopener">public recipe</a>
static/app.css CHANGED
@@ -81,6 +81,9 @@ img { display: block; max-width: 100%; }
81
  text-wrap: balance;
82
  }
83
  .masthead a { color: var(--muted); text-underline-offset: 2px; }
 
 
 
84
  .masthead em { font-style: italic; color: var(--ink); }
85
 
86
  /* --- search -------------------------------------------------------------- */
 
81
  text-wrap: balance;
82
  }
83
  .masthead a { color: var(--muted); text-underline-offset: 2px; }
84
+ /* A hyphen is a legal break point, so "Marlin-2B" was being split across two
85
+ lines. Short enough to keep whole at any width. */
86
+ .nb { white-space: nowrap; }
87
  .masthead em { font-style: italic; color: var(--ink); }
88
 
89
  /* --- search -------------------------------------------------------------- */