p1atdev / LECO

Low-rank adaptation for Erasing COncepts from diffusion models.
https://arxiv.org/abs/2303.07345
Apache License 2.0
307 stars 23 forks source link

diffusers version error #32

Closed yamasoo closed 11 months ago

yamasoo commented 11 months ago

ValueError: The deprecation tuple ('from_ckpt', '0.21.0', 'The function from_ckpt is deprecated in favor of from_single_file and will be removed in diffusers v.0.21. Please make sure to use StableDiffusionPipeline.from_single_file(...) instead.') should be removed since diffusers' version 0.21.0 is >= 0.21.0

image

p1atdev commented 11 months ago

I've specified the versions in the requirements.txt file. After doing a git pull, please run either pip install -r ./requirements.txt or pip install diffusers==0.20.0.