Simple web application and script collection for practicing NLP tools, focusing on emotion detection in text using Hugging Face Transformers and Flask.
- Detects emotions in user-provided text using a pre-trained transformer model.
- Web interface for emotion analysis.
- Includes a basic chatbot script for experimentation.
- Image captioning
- Install dependencies:
pip install -r requirements.txt
- Start the web server:
python server.py
server.py: Flask app serving the web interface and API.EmotionDetection/emotion_detection.py: Core emotion detection logic.chatbot.py: Simple chatbot for further NLP practice.test_emotion_detection.py: Unit tests for emotion detection.