fdaudens HF staff commited on
Commit
bf996a0
Β·
verified Β·
1 Parent(s): 6a7a40a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +12 -3
index.html CHANGED
@@ -373,6 +373,14 @@
373
  <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>
374
  <iframe src="https://aiworld.eu/embed/api/model/model/racechart" allowfullscreen></iframe>
375
  </div>
 
 
 
 
 
 
 
 
376
  `
377
  };
378
 
@@ -407,14 +415,15 @@
407
  21: "πŸ”„<br>The Circle of Sharing",
408
  22: "⭐<br>December Stars",
409
  23: "🌍<br>Mapping AI's Languages",
410
- 24: "πŸ†<br>The Open Source AI Race"
 
411
  // Add more custom labels as needed
412
  // 3: "Custom Text",
413
  // 4: "Another Label",
414
  };
415
 
416
  // Modify the card creation loop
417
- for (let i = 1; i <= 24; i++) {
418
  const card = document.createElement('div');
419
  card.className = 'card';
420
  card.dataset.day = i;
@@ -443,7 +452,7 @@
443
 
444
  // Handle card clicks
445
  const cards = document.querySelectorAll('.card');
446
- const activeDays = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]; // Add the day numbers you want to highlight
447
 
448
  cards.forEach(card => {
449
  const day = parseInt(card.dataset.day);
 
373
  <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>
374
  <iframe src="https://aiworld.eu/embed/api/model/model/racechart" allowfullscreen></iframe>
375
  </div>
376
+ `,
377
+ 25: `
378
+ <h2>The AI Elo Tree: Top Open Source Models of 2024</h2>
379
+ <p>A festive ranking of the most competitive open source models on Hugging Face. Each box shows a model's position, from #1 at the top to #21 at the base.</p>
380
+ <div class="responsive-iframe-container">
381
+ <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>
382
+ <iframe src="http://aiworld.eu/embed/api/model/model/christmas-tree" allowfullscreen></iframe>
383
+ </div>
384
  `
385
  };
386
 
 
415
  21: "πŸ”„<br>The Circle of Sharing",
416
  22: "⭐<br>December Stars",
417
  23: "🌍<br>Mapping AI's Languages",
418
+ 24: "πŸ†<br>The Open Source AI Race",
419
+ 25: "πŸŽ„<br>The AI Elo Tree"
420
  // Add more custom labels as needed
421
  // 3: "Custom Text",
422
  // 4: "Another Label",
423
  };
424
 
425
  // Modify the card creation loop
426
+ for (let i = 1; i <= 25; i++) {
427
  const card = document.createElement('div');
428
  card.className = 'card';
429
  card.dataset.day = i;
 
452
 
453
  // Handle card clicks
454
  const cards = document.querySelectorAll('.card');
455
+ const activeDays = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]; // Add the day numbers you want to highlight
456
 
457
  cards.forEach(card => {
458
  const day = parseInt(card.dataset.day);