ahrm / UnstableFusion

A Stable Diffusion desktop frontend with inpainting, img2img and more!
GNU General Public License v3.0
1.25k stars 86 forks source link

Colab Notebook error (ImportError) #36

Closed ndx1415 closed 1 year ago

ndx1415 commented 1 year ago

I'm usually running the app with Colab servers with great success. Now I'm getting an error in the notebook, when running this step UnstableFusion.diffusionserver import run_app

ImportError                               Traceback (most recent call last)
[<ipython-input-8-38e5886b075e>](https://localhost:8080/#) in <module>
----> 1 from UnstableFusion.diffusionserver import run_app

[/content/UnstableFusion/diffusionserver.py](https://localhost:8080/#) in <module>
      4 from PIL import Image
      5 from diffusers import StableDiffusionPipeline, StableDiffusionImg2ImgPipeline
----> 6 from diffusers import StableDiffusionInpaintPipelineLegacy
      7 
      8 from torch import autocast

ImportError: cannot import name 'StableDiffusionInpaintPipelineLegacy' from 'diffusers' (/usr/local/lib/python3.7/dist-packages/diffusers/__init__.py)
ahrm commented 1 year ago

Right, I forgot to update the notebook to use the latest diffusers. The error should be fixed now.