Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.5.1
metadata
title: SummarizeText App
emoji: π’
colorFrom: blue
colorTo: gray
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: Summarize text using BART model
π Summarization App β Hugging Face Version
A clean and efficient text summarization app built using Gradio and Hugging Face Transformers. It generates concise summaries from longer text content.
π§ About the Model
- Pipeline:
summarization - Model:
facebook/bart-large-cnn - Framework: Hugging Face Transformers
- Task: Summarization (English-only)
π‘ Features
- Summarize articles, blogs, or educational content
- Fast and accurate summaries using pretrained BART model
- Real-time interface with Gradio
- Hosted on Hugging Face Spaces
βοΈ Instructions for Users
β¨ Enter a paragraph or short article (50β300 words).
π The model will return a concise, meaningful summary.
π Works best with news, education, science, business, or blog-style content.
β οΈ Avoid single-line text or grammatically broken input.
β Designed for English input only.
π Placeholder Example
Online learning has transformed education by providing flexible access to knowledge for students worldwide. With platforms like Coursera, edX, and Khan Academy, learners can study at their own pace and from the comfort of their homes. This shift has also encouraged schools to adopt hybrid learning models.
π How to Run Locally
Install the required packages:
pip install -r requirements.txt
Then run the app:
python app.py
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference