Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 341 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 341 Bytes

chatGPT-Textbook-Generation

Make a secret.py

API_KEY = "whatever-comes-from-openai"

Then change topic and configs to whatever you want in test.py

topic = "Mozart and his musical genius"
count = 0
chapter_count = 5
subsections_count = 5
paragraph_count = 5
paragraph_word_count = 300

Then run

python3 test.py