A simple AI-powered app that summarizes news articles or blog posts into 3 sentences using Hugging Face Transformers.
- Clone the repo: git clone https://github.com/bitxsyntax/text-summarizer-app.git
- Create a virtual environment: python -m venv venv and activate it.
- Install dependencies: pip install -r requirements.txt
- Run the summarizer: python summarizer.py
Provide text input to the script, and it will output a 3-sentence summary.
- Part 1: Python setup and GitHub repo.
- Part 2: Core summarization script.
- Part 3: Simple UI (using Streamlit) and deployment.
- Python 3.9+
- transformers
- torch
- streamlit (for UI)
MIT License.