File size: 1,878 Bytes
282d367
 
 
 
 
 
 
 
 
 
 
4449ab4
282d367
4449ab4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: TextSummary
emoji: πŸŒ–
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.17.1
app_file: app.py
pinned: false
license: apache-2.0
---
# Article Summarization App

This is a simple web application built with Gradio and Hugging Face's Transformers library that allows users to summarize articles using the `facebook/bart-large-cnn` model. The app provides an easy-to-use interface where users can input an article and get a concise summary in return.

## How It Works

The app uses the `facebook/bart-large-cnn` model from Hugging Face's Transformers library to generate summaries. Users can input an article, and the app will automatically generate a summary with a predefined minimum and maximum length.

## Features

- **Input Article**: Users can paste or type an article into the text box.
- **Real-Time Summarization**: The app generates the summary in real-time as soon as the user inputs the article.
- **Example Provided**: An example article is provided to demonstrate how the app works.

## How to Use

1. **Enter an Article**: Paste or type the article you want to summarize into the text box labeled "Enter an article to summarize."
2. **Get the Summary**: The app will automatically generate a summary based on your input and display it in the output text box.

## Example

An example article is provided in the app to help you get started. Simply click on the example, and the app will automatically fill in the article and generate a summary.

## Contact

If you have any questions or suggestions, feel free to reach out to me on <a href="https://www.linkedin.com/in/mohammad-alkhatim-9b1770266/" target="_blank"><img src="https://content.linkedin.com/content/dam/me/business/en-us/amp/brand-site/v2/bg/LI-Bug.svg.original.svg" alt="LinkedIn Logo" width="20" height="20"></a> [LinkedIn](https://www.linkedin.com/in/mohammad-alkhatim-9b1770266/).