This is a flask based web app which takes as input a Twitter UserName from the user and then extracts the tweets from the user account corresponding to it. These tweets are then provided as an input to a machine learning model which separates out the tweets corresponding to the need and availability of resources. This app can be quite useful during a disaster as can collect information about people in trouble during a disaster. It can identify the people in trouble and then the help can be sent to them.
Installation
- Download the files
- Install the packages given in requirements.txt
Procedure to Run
- Create a python virtual environment
- Command = "export FLASK_APP=application.py"
- Command = "flask run"
- The app will run on your localhost. Go to the local-host address.
- Type username in the box
- Click Classify
- The tweets related to need and availability will be shown in corresponding section