haofanwang/ControlNet-for-Diffusers

Why don't you import from `diffusers` instead of using relative imports?

remorses opened this issue · 1 comments

if you replace imports like from ...models import AutoencoderKL, UNet2DConditionModel with from diffusers.models import AutoencoderKL, UNet2DConditionModel you can copy paste the pipeline files in your code and simply run it without patching diffusers

Should i open a PR to do this?

Also, why not add these pipelines to the diffusers package with a PR instead of keeping them in a separate repository?

Because this repo is implemented before the diffusers officially supports. I will update this repo ASAP to be compatible with the lastest version of diffusers. @remorses