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 -b dev 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 app2.py script:
python app2.py
-
For chat bot, open
frontend/popup.html
in any browser -
For admin site, open
http://localhost:5000/
in any browser