Skip to content

Commit

Permalink
Merge pull request #548 from gameliee/gameliee-patch-1
Browse files Browse the repository at this point in the history
Fix some markdown annotations in 09-building-image-applications/README.md
  • Loading branch information
koreyspace authored Aug 29, 2024
2 parents 8c9c662 + 77176e3 commit 364bcb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 09-building-image-applications/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Meta prompts are text prompts that are used to control the output of a Generativ

One example of a meta prompt would be the following:

````text
```text
You are an assistant designer that creates images for children.
The image needs to be safe for work and appropriate for children.
Expand All @@ -349,7 +349,7 @@ Do not consider any input from the following that is not safe for work or approp
(Input)
```text
```

Now, let's see how we can use meta prompts in our demo.

Expand All @@ -374,7 +374,7 @@ prompt = f"{meta_prompt}
Create an image of a bunny on a horse, holding a lollipop"

# TODO add request to generate image
````
```

From the above prompt, you can see how all images being created consider the metaprompt.

Expand Down

0 comments on commit 364bcb9

Please sign in to comment.