import { motion } from 'framer-motion'
export default function GradCamViewer({ original, gradcam }) {
if (!gradcam) {
return (
Grad-CAM visualization unavailable.
)
}
return (
Model Focus (Grad-CAM)
Warm areas show where the network paid the most attention.
Explainability
)
}
function ImagePanel({ title, src, highlight }) {
return (
{title}
{src ? (

) : (
unavailable
)}
)
}
function ColorLegend() {
return (
)
}