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