sentimentanalyze / README.md
ZENLLC's picture
Update README.md
0d08808 verified

A newer version of the Gradio SDK is available: 5.15.0

Upgrade
metadata
title: Text Sentiment Analyzer
emoji: 🧐
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.13.1
app_file: app.py
pinned: false

Text Sentiment Analyzer

Overview

A simple Gradio application that uses a Hugging Face transformer model to analyze the sentiment of user-provided text. It returns whether the sentiment is positive, negative, or neutral, along with a confidence score.

Features

  • Input: Free text.
  • Output: Sentiment label and confidence score.
  • Based on Hugging Face transformers and Gradio for a smooth user experience.

Requirements

  • gradio==5.13.1
  • transformers==4.30.2
  • torch==2.0.1

How to Use

  1. Enter any text into the input box.
  2. Click the button to analyze.
  3. View the sentiment result and confidence score.