This project was built during the Covid-19 times to help people who suffer from depression to detect this mental illness with the help of a chatbot. The emotion detection model was built using CNN to help in the detection of emotions using the ISEAR dataset. The chatbot however used Keras's Sequential Model with an SGD optimizer to help predict an appropriate response for a User Text.
- Python 3.7
- Keras 2.2.4
- Tensorflow 2.1.0
- NLTK 3.6.2
- numpy 1.19
- training.py : Training chatbot to predict appropriate responses
- Model_CNNfin: The emotion detection model using CNN
- app.py : The Flask Application that runs the chatbot while detecting the emotion of the user's response for each text.
- model.h5 : The saved Sequential for the Chatbot's responses
- cnn_model.h5 : The saved emotion detection model used to detect user's emotion.
- Clone the Github Repo
- Create a virtual environment
- Install the required libraries
- Run app.py file