File size: 772 Bytes
48654bc
5e4f392
 
 
 
 
0d08808
5e4f392
 
48654bc
5e4f392
 
48654bc
e7c0941
0d08808
e7c0941
 
 
0d08808
 
 
 
 
 
 
e7c0941
 
 
0d08808
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
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.