A simple chatbot web app built with Flask that recommends books based on user preferences (by genre or author). The chatbot maintains a short conversation flow and suggests books from a dataset.
.
├── Books_recommender.ipynb
├── LICENSE
├── README.md
├── __pycache__
├── app.py
├── assets
│ ├── books_1.Best_Books_Ever.csv
│ ├── books_modified.csv
│ └── glove.twitter.27B.50d.txt
├── books_recommender.py
├── requirements.txt
├── static
└── templates
└── chat.html
- Clone the repository
git clone https://github.com/GraceCeline/BookChatbot.git
cd book-chatbot
- Install dependencies
pip install -r requirements.txt- Run the app
python app.py-
Open in browser
Go to 👉 http://127.0.0.1:5000
-
Alternative: run
python books_recommender.pyto run the program in the terminal. Note that the program in the terminal is slightly different than Flask app.