sentiment-analysis / README.md
abuhijleh
Update README.md with Hugging Face Spaces configuration
24cebfb

A newer version of the Gradio SDK is available: 5.49.1

Upgrade
metadata
title: Sentiment Analysis
emoji: 🤖
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.19.2
app_file: app.py
pinned: false

Text Sentiment Analysis

This application performs sentiment analysis on text input using the TextBlob library. It provides:

  • Polarity score (positive/negative sentiment)
  • Subjectivity score (objective/subjective content)
  • Overall assessment of the text

How to Use

  1. Enter your text in the input box
  2. Click "Submit"
  3. View the sentiment analysis results

The results will show:

  • Polarity: Ranges from -1 (negative) to 1 (positive)
  • Subjectivity: Ranges from 0 (objective) to 1 (subjective)
  • Assessment: A text description of the sentiment

Technologies Used

  • Gradio for the web interface
  • TextBlob for sentiment analysis