Spaces:
Build error
Build error
| license: apache-2.0 | |
| title: Text Summarization and Sentiment Analysis | |
| sdk: gradio | |
| emoji: 💻 | |
| colorFrom: green | |
| colorTo: green | |
| short_description: This repository contains a Gradio-based web application that | |
| # Gradio Interface for Text Summarization and Sentiment Analysis | |
| 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. | |
| ## Features | |
| - Summarize long texts into concise summaries. | |
| - Analyze the sentiment of the summarized text. | |
| - Gradio interface for easy interaction. | |
| ## How It Works | |
| 1. **Summarization**: Enter any long piece of text, and the model will generate a summary. | |
| 2. **Sentiment Analysis**: After summarizing, the sentiment of the summary is evaluated, producing a label (e.g., 'POSITIVE', 'NEGATIVE') and a sentiment score. | |
| ## Installation | |
| 1. Clone the repository: | |
| ```bash | |
| git clone https://github.com/yourusername/your-repo-name.git | |
| cd your-repo-name | |
| ## Hugging Face: | |
| https://huggingface.co/spaces/fahad11182/Text_Summarization_and_Sentiment |