Update index.html
Browse filesadded direct link to each card
- index.html +4 -5
index.html
CHANGED
@@ -194,7 +194,7 @@
|
|
194 |
`,
|
195 |
3: `
|
196 |
<h2>Fast & Furious model releases</h2>
|
197 |
-
<p>This race chart shows
|
198 |
<div class="responsive-iframe-container">
|
199 |
<button onclick="toggleFullscreen(this.nextElementSibling)" style="position: absolute; top: 10px; right: 10px; z-index: 10; padding: 8px; background: rgba(0,0,0,0.6); color: white; border: none; border-radius: 4px; cursor: pointer;">⛶</button>
|
200 |
<iframe src="https://aiworld.eu/embed/model/author/racechart" allowfullscreen></iframe>
|
@@ -287,11 +287,10 @@
|
|
287 |
`
|
288 |
};
|
289 |
|
290 |
-
//
|
291 |
function getCardLink(day) {
|
292 |
-
const
|
293 |
-
|
294 |
-
return url.toString();
|
295 |
}
|
296 |
|
297 |
// Add this object before the card creation loop to define custom text labels
|
|
|
194 |
`,
|
195 |
3: `
|
196 |
<h2>Fast & Furious model releases</h2>
|
197 |
+
<p>This race chart shows model development over the last 48 weeks, with Meta (US), Stability (UK) and Black Forest Labs (GER) leading in quantity.</p>
|
198 |
<div class="responsive-iframe-container">
|
199 |
<button onclick="toggleFullscreen(this.nextElementSibling)" style="position: absolute; top: 10px; right: 10px; z-index: 10; padding: 8px; background: rgba(0,0,0,0.6); color: white; border: none; border-radius: 4px; cursor: pointer;">⛶</button>
|
200 |
<iframe src="https://aiworld.eu/embed/model/author/racechart" allowfullscreen></iframe>
|
|
|
287 |
`
|
288 |
};
|
289 |
|
290 |
+
// Update the getCardLink function
|
291 |
function getCardLink(day) {
|
292 |
+
const rootUrl = "https://huggingface.co/spaces/huggingface/open-source-ai-year-in-review-2024";
|
293 |
+
return `${rootUrl}?day=${day}`;
|
|
|
294 |
}
|
295 |
|
296 |
// Add this object before the card creation loop to define custom text labels
|