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
+20-16Lines changed: 20 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -3,28 +3,32 @@
3
3
Story Book is a GPTScript that can generate a story based on a prompt and the number of pages you want the story to be in. It is generated in HTML format and can then be viewed
4
4
by `index.html` which has some JS/CSS to make the story styling consistent and readable.
1.**Install and bootstrap the `image-generation` tool.**
12
9
13
-
2. Bootstrap the `image-generation` tool.
10
+
This tool uses the `image-generation` tool, which is in a separate repository. To install and bootstrap the `image-generation` tool, starting at the root of `gptscript` run the following commands:
14
11
15
-
```shell
16
-
(
12
+
> Note: We'll soon have package management that handles tools installation for you, but until then, you have to manually clone and boostrap tools.
13
+
14
+
```shell
15
+
cd .. # This assumes you're starting at the root of the gptscript project. We want image-generation to be a sibling of gptscript.
cd - # returns you back to your original directory
21
+
```
22
+
23
+
2. **Run the `story-book.gpt` script.**
24
+
25
+
In the same terminal session where the virtual environment (venv) is now activated, navigate to the `story-book` example directory and run the `story-book.gpt` script:
22
26
23
-
3. In the `story-book` directory of `gptscript`, run the `story-book.gpt` script.
0 commit comments