Skip to content

Sebes12345/emotion-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

🎭 Emotion Detector

A simple AI-powered web app that detects emotions from text using a pretrained NLP model.

What it does

  • User types any sentence
  • App predicts the emotion (joy, sadness, anger, fear, surprise, disgust, neutral)
  • Shows confidence score for each emotion

Tech Stack

  • Python
  • Streamlit (UI)
  • HuggingFace Transformers (NLP model)
  • PyTorch

Model Used

j-hartmann/emotion-english-distilroberta-base from HuggingFace

How to Run

  1. Clone the repo
git clone https://github.com/yourusername/emotion-detector.git
cd emotion-detector
  1. Install dependencies
pip install -r requirements.txt
  1. Run the app
streamlit run app.py
  1. Open browser at http://localhost:8501

About

An AI-powered web app that detects emotions from text using HuggingFace Transformers and Streamlit.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages