Skip to content

Commit a1cb4c6

Browse files
authored
Update README.md
1 parent 619179f commit a1cb4c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,9 @@ ModelKeywordResult(keywords=['nousr robot'], model='robo-diffusion-v1.ckpt', old
318318

319319
### Extension support - Instruct-Pix2Pix
320320
```
321-
# https://github.com/Klace/stable-diffusion-webui-instruct-pix2pix
322-
ip2p = webuiapi.InstructPix2PixInterface(api)
323-
r = ip2p.img2img(prompt='sunset', images=[pil_img], text_cfg=7.5, image_cfg=1.5)
321+
# Instruct-Pix2Pix extension is now deprecated and is now part of webui.
322+
# You can use normal img2img with image_cfg_scale when instruct-pix2pix model is loaded.
323+
r = api.img2img(prompt='sunset', images=[pil_img], cfg_scale=7.5, image_cfg_scale=1.5)
324324
r.image
325325
```
326326

0 commit comments

Comments
 (0)