Spaces:
Sleeping
Sleeping
Create README.md
Browse files
README.md
CHANGED
@@ -1,14 +1,21 @@
|
|
1 |
---
|
2 |
-
title: Sentimentanalyze
|
3 |
-
emoji: 📉
|
4 |
-
colorFrom: red
|
5 |
-
colorTo: gray
|
6 |
-
sdk: gradio
|
7 |
-
sdk_version: 5.13.1
|
8 |
-
app_file: app.py
|
9 |
-
pinned: false
|
10 |
license: apache-2.0
|
11 |
-
short_description: sentimentanalyze
|
12 |
---
|
|
|
13 |
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: apache-2.0
|
|
|
3 |
---
|
4 |
+
# Hugging Face Space: Text Sentiment Analyzer
|
5 |
|
6 |
+
## Overview
|
7 |
+
This application uses a pre-trained Hugging Face transformer model to perform sentiment analysis on user-provided text.
|
8 |
+
|
9 |
+
## Features
|
10 |
+
- Input: Free text.
|
11 |
+
- Output: Sentiment analysis result, including the label (positive, negative, or neutral) and confidence score.
|
12 |
+
|
13 |
+
## Requirements
|
14 |
+
- gradio==3.33.1
|
15 |
+
- transformers==4.30.2
|
16 |
+
- torch==2.0.1
|
17 |
+
|
18 |
+
## How to Use
|
19 |
+
1. Enter any text into the input box.
|
20 |
+
2. Click the analyze button.
|
21 |
+
3. View the sentiment result and confidence score.
|