Views
No views yet
├── app.py # Main application file with the Gradio interface
├── requirements.txt # Project dependencies
├── checkpoints/ # Contains pre-trained model weights
│ ├── emotion_recognition/
│ └── face_detect/
├── dataset/ # Image data for training and testing
│ └── emotions/
└── src/ # Source code for the project
├── dataset.py # Handles data loading
├── emotion_recognition_model.py # Emotion recognition model architecture
├── face_detect_model.py # Face detection model architecture
├── pipeline.py # Chains face detection and emotion recognition
└── train.py # Script for training the models1git clone https://huggingface.co/RashaadAhmad/Emotion-Detection
2cd emotion-detection1python -m venv venv
2source venv/bin/activate # On Windows, use `venv\Scripts\activate`pip install -r requirements.txtpython app.pycheckpoints directory. However, if you wish to retrain the model on a different dataset, you can use the train.py script:python src/train.pydataset directory.