# Compel doesn't work with the new Inpainting SDXL model

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcompel-doesnt-work-with-the-new-inpainting-sdxl-model%2F53852%3E%5C
**Category:** 🧨 Diffusers\
**Created:** [September 6, 2023, 7:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcompel-doesnt-work-with-the-new-inpainting-sdxl-model%2F53852 "2023-09-06T19:01:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JOHANhuynhhhhh](https://avatars.discourse-cdn.com/v4/letter/j/a6a055/32.png) [@JOHANhuynhhhhh](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FJOHANhuynhhhhh)%5C
**Post date:** [September 6, 2023, 7:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcompel-doesnt-work-with-the-new-inpainting-sdxl-model%2F53852%2F1 "2023-09-06T19:01:09Z")

</div>

as like title. AttributeError: ‘NoneType’ object has no attribute 'repeat

---

<div class="post-metadata">

**Author:** ![WaterKnight](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/waterknight/32/33976_2.png) [@WaterKnight](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FWaterKnight)%5C
**Post date:** [February 12, 2024, 4:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcompel-doesnt-work-with-the-new-inpainting-sdxl-model%2F53852%2F2 "2024-02-12T16:46:22Z")

</div>

I found same error, how did you solve in the end??
