Text-to-Image
Diffusers
Safetensors
StableDiffusionXLInstructPix2PixPipeline
stable-diffusion-xl
stable-diffusion-xl-diffusers
instruct-pix2pix
Instructions to use diffusers/sdxl-instructpix2pix-768 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/sdxl-instructpix2pix-768 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/sdxl-instructpix2pix-768", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Remove width and height from edited_image
#1
by CORTON - opened
No description provided.
Could you comment on the results you're obtaining with this?
hmmm, I found out that it doesn't support the parameters width and height😣
Meaning?
TypeError: StableDiffusionXLInstructPix2PixPipeline.call
got an unexpected keyword argument 'height"
You should install diffusers from main.
really sorry, Idk
CORTON changed pull request status to closed