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
+4-21
Original file line number
Diff line number
Diff line change
@@ -5,24 +5,7 @@ by `index.html` which has some JS/CSS to make the story styling consistent and r
5
5
6
6
## Usage Instructions
7
7
8
-
1.**Install and bootstrap the `image-generation` tool.**
9
-
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:
11
-
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 ../gptscript # returns you back to your original directory
21
-
```
22
-
23
-
> Note: You can install the python dependencies manually by running `pip install -r requirements.txt`in the root of the cloned repository. This prevents the need to run `make bootstrap` or activate the virtual environment.
24
-
25
-
2. **Run the `story-book.gpt` script.**
8
+
1.**Run the `story-book.gpt` script.**
26
9
27
10
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:
28
11
@@ -31,11 +14,11 @@ by `index.html` which has some JS/CSS to make the story styling consistent and r
Open `index.html`in your browser to view the generated story.
37
20
38
-
4. (optional) **Generate a new story.**
21
+
3. (optional) **Generate a new story.**
39
22
40
23
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
24
@@ -47,4 +30,4 @@ by `index.html` which has some JS/CSS to make the story styling consistent and r
47
30
48
31
```shell
49
32
gptscript story-book.gpt --prompt "The Three Little Pigs" --pages 5
0 commit comments