Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.35.0
metadata
title: Text Summarization
emoji: π¬
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.29.1
app_file: app.py
pinned: false
license: mit
short_description: For Text Summarization
π AI Text Summarizer + Named Entity Recognition (NER)
This web app helps users quickly understand large blocks of text by:
- Generating concise summaries using the
bart-large-cnn
model - Highlighting important entities such as people, organizations, and locations with
dslim/bert-base-NER
Built with π€ Hugging Face Transformers and Gradio.
π Features
β¨ Text Summarization
Automatically condenses long-form text into short, meaningful summaries.π§ Named Entity Recognition (NER)
Highlights key entities (e.g., names, places, organizations) in the summary for better context.π User-Friendly Interface
Easy-to-use web interface with live examples. Just paste your text (100+ words), and get insights instantly!
π Models Used
facebook/bart-large-cnn
β For text summarizationdslim/bert-base-NER
β For named entity recognition
π§ How It Works
- User inputs at least 100 words of text.
- The app summarizes the input using the BART model.
- The summary is passed to the BERT model to extract and highlight named entities.
- Output is displayed with highlights over the summary text.
π» Running Locally
git clone https://huggingface.co/spaces/YOUR-USERNAME/YOUR-APP-NAME
cd YOUR-APP-NAME
pip install -r requirements.txt
python app.py