Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# News Article Summarizer
|
2 |
|
3 |
This is a Gradio app that summarizes news articles using the BART-large-CNN model. Simply input a news article URL, and the app will provide a clean, concise, and accurate summary of the article.
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
title: News Article Summarizer
|
4 |
+
emoji: 📰
|
5 |
+
colorFrom: blue
|
6 |
+
colorTo: indigo
|
7 |
+
sdk: gradio
|
8 |
+
sdk_version: "4.0.0"
|
9 |
+
app_file: app.py
|
10 |
+
pinned: false
|
11 |
+
---
|
12 |
+
|
13 |
+
# News Article Summarizer
|
14 |
+
|
15 |
+
This is a Gradio app that summarizes news articles using the BART-large-CNN model. Simply input a news article URL, and the app will provide a clean, concise, and accurate summary of the article.
|
16 |
+
|
17 |
+
## Features
|
18 |
+
|
19 |
+
- URL-based article extraction
|
20 |
+
- Automatic text summarization using state-of-the-art transformer model
|
21 |
+
- Clean and user-friendly interface
|
22 |
+
- Handles long articles by splitting them into chunks
|
23 |
+
|
24 |
+
## How to Use
|
25 |
+
|
26 |
+
1. Enter a news article URL in the input box
|
27 |
+
2. Click submit
|
28 |
+
3. Get your summarized article instantly
|
29 |
+
|
30 |
+
## Local Development
|
31 |
+
|
32 |
+
To run this app locally:
|
33 |
+
|
34 |
+
1. Install the requirements:
|
35 |
+
```bash
|
36 |
+
pip install -r requirements.txt
|
37 |
+
```
|
38 |
+
|
39 |
+
2. Run the app:
|
40 |
+
```bash
|
41 |
+
python app.py
|
42 |
+
```
|
43 |
+
|
44 |
+
## Deployment
|
45 |
+
|
46 |
+
This app is ready to be deployed on Hugging Face Spaces.
|
47 |
+
|
48 |
+
|
49 |
+
|
50 |
# News Article Summarizer
|
51 |
|
52 |
This is a Gradio app that summarizes news articles using the BART-large-CNN model. Simply input a news article URL, and the app will provide a clean, concise, and accurate summary of the article.
|