Update index.html
Browse files- index.html +66 -42
index.html
CHANGED
@@ -103,15 +103,22 @@
|
|
103 |
.responsive-iframe-container {
|
104 |
position: relative;
|
105 |
width: 100%;
|
106 |
-
|
|
|
107 |
}
|
108 |
.responsive-iframe-container iframe {
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
}
|
116 |
</style>
|
117 |
</head>
|
@@ -188,7 +195,7 @@
|
|
188 |
<p>Explore the community's favourite models, ranging from tasks, likes to downloads, since 2022. What we're seeing: smol models are on the rise.📈👀</p>
|
189 |
<p><em style="font-size: 0.8em;">💡Tip: Click the small square icon in the top right corner to access full screen view!</em></p>
|
190 |
<div class="responsive-iframe-container">
|
191 |
-
<button onclick="
|
192 |
<iframe src="https://aiworld.eu/embed/model/model/treemap" allowfullscreen></iframe>
|
193 |
</div>
|
194 |
`,
|
@@ -196,7 +203,7 @@
|
|
196 |
<h2>Fast & Furious model releases</h2>
|
197 |
<p>This race chart shows cumulative likes for models over the first 48 weeks of 2024, with Meta (US), Stability (UK) and Black Forest Labs (GER) leading the pack.</p>
|
198 |
<div class="responsive-iframe-container">
|
199 |
-
<button onclick="
|
200 |
<iframe src="https://aiworld.eu/embed/model/author/racechart" allowfullscreen></iframe>
|
201 |
</div>
|
202 |
`,
|
@@ -204,7 +211,7 @@
|
|
204 |
<h2>Zero to One (Million Models)</h2>
|
205 |
<p>This exponential growth chart tracks the Hugging Face community's journey from just a few thousand models in 2022 to surpassing the million-model milestone today.</p>
|
206 |
<div class="responsive-iframe-container">
|
207 |
-
<button onclick="
|
208 |
<iframe src="https://aiworld.eu/embed/model/tag/stacked-model-count-other" allowfullscreen></iframe>
|
209 |
</div>
|
210 |
`,
|
@@ -212,84 +219,106 @@
|
|
212 |
<h2>The HF Network: What your likes say about you</h2>
|
213 |
<p>Network connections between users’ favourite models.</p>
|
214 |
<div class="responsive-iframe-container">
|
215 |
-
<button onclick="
|
216 |
<iframe src="https://aiworld.eu/embed/model/model/network-small" allowfullscreen></iframe>
|
217 |
-
</div>
|
|
|
218 |
6: `
|
219 |
-
<h2>
|
220 |
-
<p>
|
221 |
-
<
|
|
|
|
|
|
|
222 |
7: `
|
223 |
<h2>Day 7</h2>
|
224 |
-
<p>Like the space to
|
|
|
225 |
`,
|
226 |
8: `
|
227 |
<h2>Day 8</h2>
|
228 |
-
<p>Like the space to
|
|
|
229 |
`,
|
230 |
9: `
|
231 |
<h2>Day 9</h2>
|
232 |
-
<p>Like the space to
|
|
|
233 |
`,
|
234 |
10: `
|
235 |
<h2>Day 10</h2>
|
236 |
-
<p>Like the space to
|
|
|
237 |
`,
|
238 |
11: `
|
239 |
<h2>Day 11</h2>
|
240 |
-
<p>Like the space to
|
|
|
241 |
`,
|
242 |
12: `
|
243 |
<h2>Day 12</h2>
|
244 |
-
<p>Like the space to
|
|
|
245 |
`,
|
246 |
13: `
|
247 |
<h2>Day 13</h2>
|
248 |
-
<p>Like the space to
|
|
|
249 |
`,
|
250 |
14: `
|
251 |
<h2>Day 14</h2>
|
252 |
-
<p>Like the space to
|
|
|
253 |
`,
|
254 |
15: `
|
255 |
<h2>Day 15</h2>
|
256 |
-
<p>Like the space to
|
|
|
257 |
`,
|
258 |
16: `
|
259 |
<h2>Day 16</h2>
|
260 |
-
<p>Like the space to
|
|
|
261 |
`,
|
262 |
17: `
|
263 |
<h2>Day 17</h2>
|
264 |
-
<p>Like the space to
|
|
|
265 |
`,
|
266 |
18: `
|
267 |
<h2>Day 18</h2>
|
268 |
-
<p>Like the space to
|
|
|
269 |
`,
|
270 |
19: `
|
271 |
<h2>Day 19</h2>
|
272 |
-
<p>Like the space to
|
|
|
273 |
`,
|
274 |
20: `
|
275 |
<h2>Day 20</h2>
|
276 |
-
<p>Like the space to
|
|
|
277 |
`,
|
278 |
21: `
|
279 |
<h2>Day 21</h2>
|
280 |
-
<p>Like the space to
|
|
|
281 |
`,
|
282 |
22: `
|
283 |
<h2>Day 22</h2>
|
284 |
-
<p>Like the space to
|
|
|
285 |
`,
|
286 |
23: `
|
287 |
<h2>Day 23</h2>
|
288 |
-
<p>Like the space to
|
|
|
289 |
`,
|
290 |
24: `
|
291 |
<h2>Day 24</h2>
|
292 |
-
<p>Like the space to
|
|
|
293 |
`
|
294 |
};
|
295 |
|
@@ -306,6 +335,7 @@
|
|
306 |
3: "🏎️<br>Fast & Furious model releases",
|
307 |
4: "🚀<br>Zero to One (Million Models)",
|
308 |
5: "🤗<br>What your likes say about you?",
|
|
|
309 |
// Add more custom labels as needed
|
310 |
// 3: "Custom Text",
|
311 |
// 4: "Another Label",
|
@@ -341,7 +371,7 @@
|
|
341 |
|
342 |
// Handle card clicks
|
343 |
const cards = document.querySelectorAll('.card');
|
344 |
-
const activeDays = [1,2,3,4,5]; // Add the day numbers you want to highlight
|
345 |
|
346 |
cards.forEach(card => {
|
347 |
const day = parseInt(card.dataset.day);
|
@@ -371,14 +401,8 @@
|
|
371 |
});
|
372 |
|
373 |
// Add fullscreen function
|
374 |
-
function
|
375 |
-
|
376 |
-
iframe.requestFullscreen();
|
377 |
-
} else if (iframe.webkitRequestFullscreen) { /* Safari */
|
378 |
-
iframe.webkitRequestFullscreen();
|
379 |
-
} else if (iframe.msRequestFullscreen) { /* IE11 */
|
380 |
-
iframe.msRequestFullscreen();
|
381 |
-
}
|
382 |
}
|
383 |
|
384 |
// Add this code after your existing event listeners
|
|
|
103 |
.responsive-iframe-container {
|
104 |
position: relative;
|
105 |
width: 100%;
|
106 |
+
height: 500px; /* Default height */
|
107 |
+
transition: all 0.3s ease;
|
108 |
}
|
109 |
.responsive-iframe-container iframe {
|
110 |
+
width: 100%;
|
111 |
+
height: 100%;
|
112 |
+
border: none;
|
113 |
+
}
|
114 |
+
.browser-fullscreen {
|
115 |
+
position: fixed;
|
116 |
+
top: 0;
|
117 |
+
left: 0;
|
118 |
+
width: 100vw;
|
119 |
+
height: 100vh;
|
120 |
+
z-index: 9999;
|
121 |
+
background: white;
|
122 |
}
|
123 |
</style>
|
124 |
</head>
|
|
|
195 |
<p>Explore the community's favourite models, ranging from tasks, likes to downloads, since 2022. What we're seeing: smol models are on the rise.📈👀</p>
|
196 |
<p><em style="font-size: 0.8em;">💡Tip: Click the small square icon in the top right corner to access full screen view!</em></p>
|
197 |
<div class="responsive-iframe-container">
|
198 |
+
<button onclick="toggleBrowserFullscreen(this.parentElement)" 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>
|
199 |
<iframe src="https://aiworld.eu/embed/model/model/treemap" allowfullscreen></iframe>
|
200 |
</div>
|
201 |
`,
|
|
|
203 |
<h2>Fast & Furious model releases</h2>
|
204 |
<p>This race chart shows cumulative likes for models over the first 48 weeks of 2024, with Meta (US), Stability (UK) and Black Forest Labs (GER) leading the pack.</p>
|
205 |
<div class="responsive-iframe-container">
|
206 |
+
<button onclick="toggleBrowserFullscreen(this.parentElement)" 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>
|
207 |
<iframe src="https://aiworld.eu/embed/model/author/racechart" allowfullscreen></iframe>
|
208 |
</div>
|
209 |
`,
|
|
|
211 |
<h2>Zero to One (Million Models)</h2>
|
212 |
<p>This exponential growth chart tracks the Hugging Face community's journey from just a few thousand models in 2022 to surpassing the million-model milestone today.</p>
|
213 |
<div class="responsive-iframe-container">
|
214 |
+
<button onclick="toggleBrowserFullscreen(this.parentElement)" 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>
|
215 |
<iframe src="https://aiworld.eu/embed/model/tag/stacked-model-count-other" allowfullscreen></iframe>
|
216 |
</div>
|
217 |
`,
|
|
|
219 |
<h2>The HF Network: What your likes say about you</h2>
|
220 |
<p>Network connections between users’ favourite models.</p>
|
221 |
<div class="responsive-iframe-container">
|
222 |
+
<button onclick="toggleBrowserFullscreen(this.parentElement)" 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>
|
223 |
<iframe src="https://aiworld.eu/embed/model/model/network-small" allowfullscreen></iframe>
|
224 |
+
</div>
|
225 |
+
`,
|
226 |
6: `
|
227 |
+
<h2>33 Months of Models, per Task</h2>
|
228 |
+
<p>Over the last 33 months, over 300k models have been created for 53 specialized tasks. Watch until the end to see which task reigns supreme. 👀 <em>(Hint: this task makes up nearly half the models on the Hub.)</em></p>
|
229 |
+
<div class="responsive-iframe-container">
|
230 |
+
<button onclick="toggleBrowserFullscreen(this.parentElement)" 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>
|
231 |
+
<iframe src="https://aiworld.eu/embed/model/pipeline/racechart2" allowfullscreen></iframe>
|
232 |
+
</div> `,
|
233 |
7: `
|
234 |
<h2>Day 7</h2>
|
235 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
236 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
237 |
`,
|
238 |
8: `
|
239 |
<h2>Day 8</h2>
|
240 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
241 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
242 |
`,
|
243 |
9: `
|
244 |
<h2>Day 9</h2>
|
245 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
246 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
247 |
`,
|
248 |
10: `
|
249 |
<h2>Day 10</h2>
|
250 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
251 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
252 |
`,
|
253 |
11: `
|
254 |
<h2>Day 11</h2>
|
255 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
256 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
257 |
`,
|
258 |
12: `
|
259 |
<h2>Day 12</h2>
|
260 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
261 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
262 |
`,
|
263 |
13: `
|
264 |
<h2>Day 13</h2>
|
265 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
266 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
267 |
`,
|
268 |
14: `
|
269 |
<h2>Day 14</h2>
|
270 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
271 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
272 |
`,
|
273 |
15: `
|
274 |
<h2>Day 15</h2>
|
275 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
276 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
277 |
`,
|
278 |
16: `
|
279 |
<h2>Day 16</h2>
|
280 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
281 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
282 |
`,
|
283 |
17: `
|
284 |
<h2>Day 17</h2>
|
285 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
286 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
287 |
`,
|
288 |
18: `
|
289 |
<h2>Day 18</h2>
|
290 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
291 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
292 |
`,
|
293 |
19: `
|
294 |
<h2>Day 19</h2>
|
295 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
296 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
297 |
`,
|
298 |
20: `
|
299 |
<h2>Day 20</h2>
|
300 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
301 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
302 |
`,
|
303 |
21: `
|
304 |
<h2>Day 21</h2>
|
305 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
306 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
307 |
`,
|
308 |
22: `
|
309 |
<h2>Day 22</h2>
|
310 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
311 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
312 |
`,
|
313 |
23: `
|
314 |
<h2>Day 23</h2>
|
315 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
316 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
317 |
`,
|
318 |
24: `
|
319 |
<h2>Day 24</h2>
|
320 |
+
<p>Wondering what tomorrow’s visualization will be? Like the space to get notified when we reveal it 🤗</p>
|
321 |
+
<img src="/images/day3-teaser.png" style="width: 100%; margin: 20px 0;">
|
322 |
`
|
323 |
};
|
324 |
|
|
|
335 |
3: "🏎️<br>Fast & Furious model releases",
|
336 |
4: "🚀<br>Zero to One (Million Models)",
|
337 |
5: "🤗<br>What your likes say about you?",
|
338 |
+
6: "🏷️<br>Tasks on tasks on tasks",
|
339 |
// Add more custom labels as needed
|
340 |
// 3: "Custom Text",
|
341 |
// 4: "Another Label",
|
|
|
371 |
|
372 |
// Handle card clicks
|
373 |
const cards = document.querySelectorAll('.card');
|
374 |
+
const activeDays = [1,2,3,4,5,6]; // Add the day numbers you want to highlight
|
375 |
|
376 |
cards.forEach(card => {
|
377 |
const day = parseInt(card.dataset.day);
|
|
|
401 |
});
|
402 |
|
403 |
// Add fullscreen function
|
404 |
+
function toggleBrowserFullscreen(container) {
|
405 |
+
container.classList.toggle('browser-fullscreen');
|
|
|
|
|
|
|
|
|
|
|
|
|
406 |
}
|
407 |
|
408 |
// Add this code after your existing event listeners
|