const OPTIONS = [ { value: "bart_large_cnn", label: "BART Large CNN", note: "Best default abstractive model" }, { value: "flan_t5_small", label: "Flan-T5 Small", note: "Lightweight and CPU-friendly" }, { value: "pegasus_cnn", label: "PEGASUS CNN", note: "Optional stronger summarizer" }, { value: "lead1", label: "Lead-1", note: "Simple extractive baseline" }, { value: "textrank", label: "TextRank", note: "Classic graph-based baseline" } ]; export default function ModelSelector({ value, onChange }) { const selected = OPTIONS.find((option) => option.value === value); return (
{selected && (

{selected.note}

)}
); } export const MODEL_OPTIONS = OPTIONS;