ab).classList.add('active');
        });
    });

    function displaySummary(summary) {
        const summaryDiv = document.getElementById('annotation-summary');
        summaryDiv.innerHTML = '';

        const filesSection = document.createElement('div');
        filesSection.className = 'summary-section';
        if (summary.coco_files.length > 0) {
            filesSection.innerHTML += `<p><strong>COCO Annotations:</strong> ${summary.coco_files.join(', ')}</p>`;
        }
        if (summary.yolo_files