inu-ai / stable-diffusion-webui-instruct-pix2pix

Extension for webui to run instruct-pix2pix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED: This extension is no longer required. I have integrated the code into Automatic1111 img2img pipeline and the webUI now has Image CFG Scale for instruct-pix2pix models built into the img2img interface. This extension is obsolete.

If there is anything from this extension missing from img2img that you'd like please let me know (i.e. random CFG) and I can make a separate extension to extend webui img2img instead.

Enjoy!

Extension for webui to run instruct-pix2pix models

Code based on: https://www.timothybrooks.com/instruct-pix2pix/ (see LICENSE for more info)

Examples from original creator: image

Download the instruct-pix2pix-00-22000 model manually from here: https://huggingface.co/timbrooks/instruct-pix2pix/tree/main

After loading the model you can use the extension.

image

Batch Input processing will unpack any animated .gif found in the directory and process all frames by default.

Model does not work with img2img or txt2img. Merging with other 1.5 models is possible but results are mixed at best.

Embeddings for 1.5 work, as does emphasis. Advanced prompting features from webui are not implemented.

Todo: Integrate with img2img instead of an extension :)

Feel free to use my modified Image Browser extension for native browsing support (and enhanced sort and filter features compared to normal repo):

https://github.com/Klace/stable-diffusion-webui-images-browser

image

About

Extension for webui to run instruct-pix2pix

License:Other


Languages

Language:Python 100.0%