Skip to content

An App which helps you provide Emergency Level Solutions. ##SLAC hackathon.

License

Notifications You must be signed in to change notification settings

AnanyaNegi/Emergency-Ally

 
 

Repository files navigation

Emergency Ally

2020 has been a rough year. We started with a wildfire in Australia , saw half of our world die due to COVID, migrant workers moved across states in our country,skies in California turned orange as the state choked up the fire fumes and what not. We have faced every calamity possible in this year and we , Team Myth Busters think , it would be stupid not to prepare ourselves for the future. So, lo and behold , Emergency Ally, a smart website designed to always be there for you in the time of emergency and get you out of it as soon as possible.

Built using Natural Language Processing and Machine Learning,Emergency Ally is a Comprehensive Web App which can help you provide SOS or Emergency Level Solutions , In Case You encounter or see someone in any Danger or Disaster Situtations.


Preview

Functionalities

  • Input Emergency
  • Classification of emergency:Classifies your emergency to a bunch of other related emergency types
  • Priority Sorting:our model understands how urgent your search is and assigns it a priority level
  • Location Based Results:Gives you location based suggestions of nearest help centers and their contact information.

## File Description
.
├── app     
│   ├── run.py                           # Flask file that runs app
│   └── templates   
│       ├── go.html                      # Classification result page of web app
│       └── master.html                  # Main page of web app    
├── data                   
│   ├── disaster_categories.csv          # Dataset including all the categories  
│   ├── disaster_messages.csv            # Dataset including all the messages
│   └── process_data.py                  # Data cleaning
├── models
│   └── train_classifier.py              # Train ML model           
└── README.md

Instructions: (Run run.py directly if DisasterResponse.db and claasifier.pkl already exist.)

  1. Run the following commands in the project's root directory to set up your database and model.

    • To run ETL pipeline that cleans data and stores in database python data/process_data.py data/disaster_messages.csv data/disaster_categories.csv data/DisasterResponse.db
    • To run ML pipeline that trains classifier and saves python models/train_classifier.py data/DisasterResponse.db models/classifier.pkl
  2. Run the following command in the app's directory to run your web app. python run.py

  3. Run at http://0.0.0.0:3001/
    NOTE : If the 3rd Step Doesn't Work , Try Running at http://localhost:3001/


Contributors

Harsh Sharma

Harsh

Akshat Anand

Your Name Here (Insert Your Image Link In Src

Ananya Negi

Your Name Here (Insert Your Image Link In Src

Tarushi Pathak

Your Name Here (Insert Your Image Link In Src

License

License

About

An App which helps you provide Emergency Level Solutions. ##SLAC hackathon.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 79.9%
  • Python 20.1%