This gives 2 deployment options:
- Deploy within Flask app with jinja2 template
This repo currently contains the starter files.
Clone repo and create a virtual environment
$ git clone https://github.com/Logeshvarman/DeZ_chatbot_Pytorch.git $ cd DeZ $ conda create --name DeZ $ conda activate DeZ
$ (DeZ) conda install Flask torch torchvision nltk
Install nltk package
intents.json with different intents and responses for your Chatbot
$ (Dez) python train.py
This will dump data.pth file. And then run
the following command to test it in the console.
$ (Dez) python chat.py