TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.56k stars 1.31k forks source link

ImportError: cannot import name 'EventData' from 'gradio.helpers' (/usr/local/lib/python3.9/dist-packages/gradio/helpers.py) #1834

Open kopyl opened 1 year ago

kopyl commented 1 year ago

???

TheLastBen commented 1 year ago

use the latest notebook

potbelliedconan commented 1 year ago

Im definitely using the latest version,

os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' !pip install gradio==3.23 -qq

Still having this problem, do I need delete my old install ?

jtran-developer commented 1 year ago

I had that issue, but it loads up for me now, even though there's a syntax error along the way

Error loading script: loopback.py
Traceback (most recent call last):
  File "/content/gdrive/.shortcut-targets-by-id/1S33CUH0-cqG4EkR8r0vGFnH9aECswn4r/sd/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "/content/gdrive/.shortcut-targets-by-id/1S33CUH0-cqG4EkR8r0vGFnH9aECswn4r/sd/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 846, in exec_module
  File "<frozen importlib._bootstrap_external>", line 983, in get_code
  File "<frozen importlib._bootstrap_external>", line 913, in source_to_code
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/content/gdrive/.shortcut-targets-by-id/1S33CUH0-cqG4EkR8r0vGFnH9aECswn4r/sd/stable-diffusion-webui/scripts/loopback.py", line 57
    match denoising_curve:
          ^
SyntaxError: invalid syntax`
jtran-developer commented 1 year ago

That said, error messages seem to have gotten pretty colorful.

https://cdn.discordapp.com/attachments/1064534615441809450/1089186664087289906/image.png

xmalina commented 1 year ago

I'm getting the same issue @jtran-developer -- any workaround ideas?

jtran-developer commented 1 year ago

Do you need a workaround? It's running and generating images properly. I just can't click to expand the image. You can still right click and save.

xmalina commented 1 year ago

Mine aren't working and can't right click and save -- I tried restarting, no go. will let you know if anything changes..

image image

Note: trying to use ControlNet HED, and also doesn't work for straight up image generation

[Update: images are generated and saved, but not visible in the UI]

josefelix82 commented 1 year ago

the same problem!! something new¿?

loboere commented 1 year ago

I think I'm going to make my own stable diffusion ui already has me tired automatic1111 gradio