</div>
</div>  
</hfoption>
<hfoption id="HD-Painter">  
[HD-Painter](https://hf.co/papers/2312.14091) is a high-resolution inpainting pipeline. It introduces a *Prompt-Aware Introverted Attention (PAIntA)* layer to better align a prompt with the area to be inpainted, and *Reweighting Attention Score Guidance (RASG)* to keep the latents more prompt-aligned and within their trained domain to generate realistc images.  
```py
import torch
from diffusers import DiffusionPipeline, DDIMScheduler