fahad11182 commited on
Commit
a8e1848
1 Parent(s): b1fcbac

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +24 -13
README.md CHANGED
@@ -1,13 +1,24 @@
1
- ---
2
- title: Text Summarization And Sentiment
3
- emoji: 👁
4
- colorFrom: green
5
- colorTo: gray
6
- sdk: gradio
7
- sdk_version: 4.44.0
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
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