Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.15.0
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
- Enter any text into the input box.
- Click the button to analyze.
- View the sentiment result and confidence score.