Commit
·
386976c
1
Parent(s):
d29db23
Update README.md
Browse files
README.md
CHANGED
|
@@ -72,7 +72,7 @@ ret.images[0].save("astronaut.png")
|
|
| 72 |
|
| 73 |
# image editing
|
| 74 |
image = Image.open(requests.get('https://github.com/baaivision/Emu/Emu2/examples/dog2.jpg?raw=true',stream=True).raw).convert('RGB')
|
| 75 |
-
prompt = [image, "wearing a
|
| 76 |
ret = pipe(prompt)
|
| 77 |
ret.images[0].save("dog_hat_beach.png")
|
| 78 |
|
|
|
|
| 72 |
|
| 73 |
# image editing
|
| 74 |
image = Image.open(requests.get('https://github.com/baaivision/Emu/Emu2/examples/dog2.jpg?raw=true',stream=True).raw).convert('RGB')
|
| 75 |
+
prompt = [image, "wearing a red hat on the beach."]
|
| 76 |
ret = pipe(prompt)
|
| 77 |
ret.images[0].save("dog_hat_beach.png")
|
| 78 |
|