You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this is an issue setting up the code from the HuggingFace space. Above comment should resolve the issue, so I'm closing for now, but feel free to keep commenting.
Hi,
After cloning the repository and setting up the environment, I keep getting the following error when trying to run edit_app.py:
(ip2p) PS C:\Users\julia\instruct-pix2pix> python edit_app.py
╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮
│ C:\Users\julia\instruct-pix2pix\edit_app.py:9 in │
│ │
│ 6 import gradio as gr │
│ 7 import torch │
│ 8 from PIL import Image, ImageOps │
│ ❱ 9 from diffusers import StableDiffusionInstructPix2PixPipeline │
│ 10 │
│ 11 │
│ 12 help_text = """ │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
ImportError: cannot import name 'StableDiffusionInstructPix2PixPipeline' from 'diffusers'
(C:\Users\julia.conda\envs\ip2p\lib\site-packages\diffusers_init_.py)
Do you have a suggestion for how I could fix this? Thank you very much in advance
The text was updated successfully, but these errors were encountered: