Note: Currently we support Linux and Windows platforms and Python 3.6.
Note: Windows platform requires Git for Windows (for example, git), Visual Studio 2015/2017 with C++ build tools installed.
Warning: Python 3.5 is not supported!.
-
Install Git Large File Storage from
https://git-lfs.github.com/
(this is required bcs the ML models are stored on Git-lfs cloud) -
Clone this repo
git clone https://github.com/padfoot18/Chatbot.git
-
Change directory
cd SAHEB/
-
Create a virtual environment with Python 3.6:
python3 -m virtualenv venv
-
Activate the environment:
- Linux:
source venv/bin/activate
- Windows:
.\venv\Scripts\activate.bat
- Linux:
-
Install the required packages from
requirements.txt
inside this virtual environment:pip install -r requirements.txt
-
Activate the environment:
- Linux:
source venv/bin/activate
- Windows:
.\venv\Scripts\activate.bat
- Linux:
-
Run app.py script:
python app.py
Note: For first run, this may take a while depending on your network connection as it downloads the required files(around 2GB).
-
For chat bot, open
frontend/popup.html
in any browser -
For admin site, open
http://127.0.0.1:5000/
in any browser