You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This implementation is based on [Diffusers](https://huggingface.co/docs/diffusers/index). StableDiffusionPAGPipeline is a modification of StableDiffusionPipeline to support Perturbed-Attention Guidance (PAG).
3752
+
3753
+
## Example Usage
3754
+
3755
+
```
3756
+
import os
3757
+
import torch
3758
+
3759
+
from accelerate.utils import set_seed
3760
+
3761
+
from diffusers import StableDiffusionPipeline
3762
+
from diffusers.utils import load_image, make_image_grid
3763
+
from diffusers.utils.torch_utils import randn_tensor
0 commit comments