A browser-based text summarizer that runs with Transformers.js in a Web Worker so the page stays responsive while the model loads and summarizes text.
This project can be deployed as a static website on Vercel, Netlify, or GitHub Pages. No Python server or saved model folder is required for the hosted version.
Open index.html in a browser, or serve the folder with any static file server.
The first summary request may take longer because the model downloads in the browser. Long inputs are trimmed before summarization to avoid slow browser inference.