Moody is your very own personal mental health assistant. Whether you are sad, angry or depressed, Moody will have a a music/video suggestion for you that will immediately brighten up your day.
Try it out here
A person’s emotions and moods have direct bearings on his/her daily activities. It is necessary to eliminate negative emotions that our family or friends might be experiencing. Analysing soial media posts is a good way to help improve ones mental health.
- Tweepy API to obtain tweets from Twitter.
- Watson Tone Analyzer to obtain emotions and Natural Language Understanding System to get keywords.
- Spotify API to suggest music.
- Youtube API to suggest videos.
- Watson Assistant as a chatbot for depressed users to communicate with.
- WebApp built using Flask framework deployed on IBM Cloud Foundry.
- Clone the repository.
- Create a python virtual environment from the root directory and activate it.
$ virtualenv -p python3 venv
$ . venv/bin/activate
- Install the requirements specified in requirements.txt
$ pip install -r requirements.txt
-
Download the env file containing the required environment variables from here
-
Place a copy of the env file in the
web
andworkers
directories. -
Rename the env file in both the directories to
.env
$ cd web
$ python main.py
Open any browser window and type in http://localhost:5000
$ cd workers
$ python <WORKER>.py
This project was carried out by students from R.V College of Engineering as a part of the IBM Hack Challenge.