Update README.md
Browse files
README.md
CHANGED
@@ -58,11 +58,11 @@ input_image = load_image(
|
|
58 |
"https://hf.co/datasets/huggingface/documentation-images/resolve/main/diffusers/gligen/livingroom_modern.png"
|
59 |
)
|
60 |
|
61 |
-
prompt = "a
|
62 |
-
boxes = [[0.2676, 0.
|
63 |
phrases = None
|
64 |
gligen_image = load_image(
|
65 |
-
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/gligen/
|
66 |
)
|
67 |
|
68 |
images = pipe(
|
@@ -77,6 +77,7 @@ images = pipe(
|
|
77 |
).images
|
78 |
|
79 |
images[0].save("./gligen-inpainting-text-image-box.jpg")
|
|
|
80 |
```
|
81 |
|
82 |
# Uses
|
|
|
58 |
"https://hf.co/datasets/huggingface/documentation-images/resolve/main/diffusers/gligen/livingroom_modern.png"
|
59 |
)
|
60 |
|
61 |
+
prompt = "a backpack"
|
62 |
+
boxes = [[0.2676, 0.4088, 0.4773, 0.7183]]
|
63 |
phrases = None
|
64 |
gligen_image = load_image(
|
65 |
+
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/gligen/backpack.jpeg"
|
66 |
)
|
67 |
|
68 |
images = pipe(
|
|
|
77 |
).images
|
78 |
|
79 |
images[0].save("./gligen-inpainting-text-image-box.jpg")
|
80 |
+
|
81 |
```
|
82 |
|
83 |
# Uses
|