ImportError : Traceback (most recent call last) Input In [96],
in <cell line: 3>()
1 import torch
2 from torch import autocast
----> 3 from diffusers import StableDiffusionPipeline
ImportError: cannot import name 'StableDiffusionPipeline' from 'diffusers' (E:\Py\env\lib\site-packages\diffusers_init_.py)
i've installed diffusers latest version. how do i solve this?
Reinstalling diffusers
solves the problem for me.
pip uninstall diffusers
pip install diffusers
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With