You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/story-book/README.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,3 +34,17 @@ by `index.html` which has some JS/CSS to make the story styling consistent and r
34
34
3. **View the story.**
35
35
36
36
Open `index.html`in your browser to view the generated story.
37
+
38
+
4. (optional) **Generate a new story.**
39
+
40
+
To generate another story, you'll first need to delete the existing `pages` directory. In the `examples/story-book` directory, run the following command:
41
+
42
+
```shell
43
+
rm -rf pages
44
+
```
45
+
46
+
After that, you can generate a new story by running the `story-book.gpt` script again with a different prompt or number of pages.
47
+
48
+
```shell
49
+
gptscript story-book.gpt --prompt "The Three Little Pigs" --pages 5
0 commit comments