Spaces:
Build error
Build error
|
Download README.md from bertiekeller/ml: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/bertiekeller/ml/resolve/main/README.md
- Command line
-
hf download hf://spaces/bertiekeller/ml/README.md
-
curl -L -o README.md https://huggingface.co/spaces/bertiekeller/ml/resolve/main/README.md
1.26 kB
A newer version of the Gradio SDK is available: 6.32.0
metadata
title: Sentiment Analysis Demo
emoji: 🎭
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 5.16.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Sentiment Analysis Demo with Gradio
This is a simple sentiment analysis demo using Gradio and Hugging Face's transformers library. The application provides a web interface where users can input text and get sentiment analysis results.
Features
- Text sentiment analysis using Hugging Face's transformers
- Real-time analysis with confidence scores
- Simple and intuitive web interface
Requirements
- Python 3.7+
- gradio>=4.0.0
- transformers
- torch
Installation
- Clone this repository
- Install dependencies:
pip install -r requirements.txt
Usage
Run the application:
python app.py
The web interface will be available at http://localhost:7860
Deployment on Hugging Face Spaces
This demo can be easily deployed on Hugging Face Spaces:
- Create a new Space on huggingface.co
- Choose Gradio as the SDK
- Upload these files to your Space:
- app.py
- requirements.txt
The app will automatically deploy and be available online.
License
MIT