A deep learning chatbot created with Python and Flask
To get started follow the steps below:
- Create and activate a virtual environment by runnning the following
virtualenv chatbotenv
source chatbotenv/bin/activate
- Install all the required libraries
pip install nltk
pip install numpy
pip install keras
pip install tensorflow
pip install flask
- Or, you can install all the dependencies from the requirements.txt file as follows:
pip install -r requirements.txt
Run the chatbot.py file to create the model
python chatbot.py
Run the APP to create a Flask front end on port 8888 (or any port the app is pointing to)
python app.py