shaz13 / InnBot

Winning solution for Innominds Machine Learning Hackathon 2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

InnBot | Flask API

Current implementation won Consolation Prize and is among top 10 Winning solution for Innominds Machine Learning Hackathon 2018

IMAGE ALT TEXT

Prerequisites

  1. Make sure you have Python3.x installed on your system.
  2. We'll use PostgreSQL database for this tutorial. Install Postgres database if you don't have it installed already.
  3. Make sure virtualenv is installed on your system.

Installation

  1. Navigate to back-end folder and create virtual environment named innbot and activate it
  2. Install the requirements using pip install -r requirements.txt in the folder directory
  3. Configure data base settings in config.py
  4. Run python run.py

Training the model takes about 1 minute and 58 seconds. It may vary depending on your system specifications

Accessing API

  1. Make sure you install the requirements and prerequisites
  2. Install Allow-Control-Allow-Origin extension for Google Chrome.
  3. Enable the extention from the settings menu
  4. Open index.html in Google Chrome to interact with InnBot Search

Note: Make sure you disable the extension after testing. With extension ON the other web services will fail to work

About

Winning solution for Innominds Machine Learning Hackathon 2018

License:MIT License


Languages

Language:CSS 69.2%Language:JavaScript 16.8%Language:Python 11.6%Language:HTML 1.9%Language:Mako 0.5%