TheLastBen / fast-stable-diffusion

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

ImportError: cannot import name 'queueing' from partially initialized module 'gradio' (most likely due to a circular import) (/usr/local/lib/python3.8/dist-packages/gradio/__init__.py) #1421

Open ShmuelRonen opened 1 year ago

ShmuelRonen commented 1 year ago

I have been running the FastDreamBoot model for several months without any problems with the help of Google Colab Pro. Today I started getting this error message. I tried deleting the SD from the drive but nothing helps. When I run any CKPT model this message appears.

what can be done?

Thanks for any help.

TheLastBen commented 1 year ago

https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb there was a small update, it works now, make sure you use the link

ShmuelRonen commented 1 year ago

Thanks!

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& 01/18/23, 08:49:13 PM

‫בתאריך יום ד׳, 18 בינו׳ 2023 ב-20:22 מאת ‪Ben‬‏ @.*** ‬‏>:‬

https://colab.research.google.com/github/TheLastBen/fast-stable-diffusion/blob/main/fast-DreamBooth.ipynb there was a small update, it works now, make sure you use the link

— Reply to this email directly, view it on GitHub https://github.com/TheLastBen/fast-stable-diffusion/issues/1421#issuecomment-1387514797, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATDZV2TS3JUSCGDA4EFEEQ3WTAYFTANCNFSM6AAAAAAT7MJVX4 . You are receiving this because you authored the thread.Message ID: @.***>

hntrssthmpsn commented 1 year ago

I saw the same issue today using the webui notebook at commit 086e782. I manually applied the fix from fast-DreamBooth.ipynb (redirect wget to fetch blocks.py from the Dreambooth dir instead of from Automatic1111_files) and I'm back in business. I'd submit a PR but I doubt that's the preferred longer term fix, so just noting here in case it helps anybody else.

TheLastBen commented 1 year ago

it has been fixed https://github.com/TheLastBen/fast-stable-diffusion/commit/e6e03474b761e66a3a8d336783be18a66350f0c4