text-summarizer / README.md
Medhu's picture
Added Hugging Face Space config
3806a7e
---
title: Text Summarizer
emoji: πŸ“š
colorFrom: gray
colorTo: indigo
sdk: gradio
sdk_version: 5.42.0
app_file: app.py
pinned: false
license: mit
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Multi-Model Summarizer (Gradio)
This Gradio app runs two Hugging Face summarization models (fast + quality) and returns paragraph or bullet-point summaries.
Models used by default: DistilBART (fast) + BART-large (quality). Use T5-small or Pegasus pair for lighter CPU usage.
## How to deploy to Hugging Face Spaces
1. Create a new Space on https://huggingface.co/spaces
- Click "New Space"
- Choose `Gradio` as SDK
- Choose hardware: `CPU` or request `GPU` (recommended for bart-large)
2. Clone the Space repo locally (after creating it):
```bash
git lfs install
git clone https://huggingface.co/spaces/<YOUR_USERNAME>/<REPO_NAME>
cd <REPO_NAME>