Live app: π Open Live App (Streamlit)
The Emotion Detection App is an NLP-powered web application that predicts the underlying emotion in user input text.
It is built using TF-IDF + Logistic Regression, achieving 85% accuracy π―.
π¨ Clean & modern Streamlit UI π Six supported emotions: Joy, Sadness, Anger, Fear, Surprise, Love π€ Emoji-based prediction for better visualization βοΈ Deployed on Streamlit Community Cloud
βοΈ Installation & Usage
git clone https://github.com/YOUR_USERNAME/EmotionDetect.git cd EmotionDetect
pip install -r requirements.txt
streamlit run app.py
π§ How It Works
- Input text is preprocessed and converted into vectors using TF-IDF
- Logistic Regression classifies the text into one of six emotions
- The app displays the predicted emotion with an emoji
π Deployment This project is deployed on Streamlit Community Cloud. π https://emotiondetect-2ysbluimrqdsuvqh87qbz4.streamlit.app/
π Future Improvements
- Add more emotions & larger datasets
- Deploy with Docker / Hugging Face Spaces
- Use Transformers (BERT, RoBERTa) for higher accuracy
π¨βπ» Author Made by Krish (https://github.com/Krish00711)