- Install required dependencies:
pip install -r requirements.txt
- Please add your ChatGPT login details under
src/data/config.json
. For more details, look at https://github.com/acheong08/ChatGPT/wiki/Setup
{
"email": <ENTER YOUR EMAIL HERE>,
"password": <PASSWORD>,
"isMicrosoftLogin": true
}
In order to create a book, run the following commands.
In Windows:
./make_book.bat --topic [TOPIC] --fname [book.epub] --authors [YOUR NAME]
In Linux:
./make_book --topic [TOPIC] --fname [book.epub] --authors [YOUR NAME]
You may find example generated books under the samples
folder.
Example Book 1. Introduction to PyTorch for Computer Vision
Here is a screenshot of the Table of Contents:
Made possible by OpenAI's ChatGPT