Skip to content

ImportError: cannot import name 'PIL_INTERPOLATION' from 'diffusers.utils' #1315

@Pirog17000

Description

@Pirog17000

Describe the bug

Hour ago been able to generate images. Now, I see this string in log.

Reproduction

Basically, try to generate an image, like, NOW

Logs

.cache\huggingface\modules\diffusers_modules\git\lpw_stable_d │
│ iffusion.py:15 in <module>                                                  │
│                                                                             │
│     12 from diffusers.pipelines.stable_diffusion import StableDiffusionPipe │
│     13 from diffusers.pipelines.stable_diffusion.safety_checker import Stab │
│     14 from diffusers.schedulers import DDIMScheduler, LMSDiscreteScheduler │
│ >   15 from diffusers.utils import PIL_INTERPOLATION, deprecate, is_acceler │
│     16 from transformers import CLIPFeatureExtractor, CLIPTextModel, CLIPTo │
│     17                                                                      │
│     18                                                                      │

\lib\site-packages\diffusers\utils\__init__.py


### System Info

Diffusers: 0.7.2
Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions