fahad11182
commited on
Commit
•
a8e1848
1
Parent(s):
b1fcbac
Update README.md
Browse files
README.md
CHANGED
@@ -1,13 +1,24 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Gradio Interface for Text Summarization and Sentiment Analysis
|
2 |
+
|
3 |
+
This repository contains a Gradio-based web application that performs both text summarization and sentiment analysis using the Hugging Face transformers library. The summarization is based on `facebook/bart-large-cnn`, and sentiment analysis is done using Hugging Face’s default sentiment analysis pipeline.
|
4 |
+
|
5 |
+
## Features
|
6 |
+
|
7 |
+
- Summarize long texts into concise summaries.
|
8 |
+
- Analyze the sentiment of the summarized text.
|
9 |
+
- Gradio interface for easy interaction.
|
10 |
+
|
11 |
+
## How It Works
|
12 |
+
|
13 |
+
1. **Summarization**: Enter any long piece of text, and the model will generate a summary.
|
14 |
+
2. **Sentiment Analysis**: After summarizing, the sentiment of the summary is evaluated, producing a label (e.g., 'POSITIVE', 'NEGATIVE') and a sentiment score.
|
15 |
+
|
16 |
+
## Installation
|
17 |
+
|
18 |
+
1. Clone the repository:
|
19 |
+
```bash
|
20 |
+
git clone https://github.com/yourusername/your-repo-name.git
|
21 |
+
cd your-repo-name
|
22 |
+
|
23 |
+
## Hugging Face:
|
24 |
+
https://huggingface.co/spaces/fahad11182/Text_Summarization_and_Sentiment
|