stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Gradio 4
Gradio 4 update.
The update breaks a lot of compatibility, some for very questionable reasons. Among other things, this branch makes it again possible to send bogus keyword arguments to components, and only get a warning for it, and use a _js argument for events. Basic functionality works, some extensions I have enabled like imagenet and tagcomplete load.
Hi, can you tag me when img2img is working? I will try to fix canvas-zoom-and-pan
@daswer123 Basic img2img is working. Still need to fix sketch, inpaint, etc.
Yeah, thanks, in general everything is more or less for build-in "canvas-zoom-and-pan", a number of features will have to be abandoned because it is no longer needed, some will have to be redone.
Oh, nice, there's been some work on this. Thanks. I couldn't do any myself because I was too busy.
fwiw - as far as extensions go, while testing the Image Browser extension, I ran into ASGI errors, when many events were triggered. I addressed this with the Gradio team and it is fixed in Gradio 4.9.0.
fwiw - as far as extensions go, while testing the Image Browser extension, I ran into ASGI errors, when many events were triggered. I addressed this with the Gradio team and it is fixed in Gradio 4.9.0.
so bump to gradio 4.9.1?
I added a bit more fixes. So far, copy image to
Fixed send to tabs buttons, updated to latest dev; Current problems:
- inpaint tab is still misbehaving if you send an image to it from anywhere (could be just a gradio bug)
- bunch of errors in JS console at startup (could also be a gradio bug)
Mostly it feels like it works.
Hi all, made a PR where I tweaked the work of the built-in zoom extension #14816 #14818
In general everything works, I study possible variants and in case I find bugs I will fix, also there are some thoughts on how to improve this extension.
In gradio 4 elements that work with the image have a lot of new buttons and functions, I thought it might be cool to realize convenient work with these functions through hotkeys.
For example, quick switching between drawing and erasing, quick layer creation, switching between layers via hotkeys. This is the first thing that came to my mind, I think there are many other things that can be realized.
I would like to know your opinion, is it worth working on the built-in extension or is it better to use these ideas to work on a separate extension?
Does ui still lag with some extensions installed on gradio 4?
I think this can be merged now. Anyone care to test one more time?
image editor is extremely unstable still in gradio
https://github.com/gradio-app/gradio/issues?q=is%3Aissue+is%3Aopen+ImageEditor
Basically, everything seems to work well except for copying images between painting tabs.
i want to check and see how long we have until this gets into main branch do we have an eta?
Probably when they fix the bug with image inputs. Gradio 4 is a sad affair. It very likely will break extensions big time. Ooba updated to 4 and then reverted.
Edit: actually looks like he updated 4 days ago: https://github.com/oobabooga/text-generation-webui/commit/2a92a842cec3f95739dd1034067a1d8568e44c7a
Image editor issues should be fixed as of 4.27.0 now. https://github.com/gradio-app/gradio/releases/tag/gradio%404.27.0
That seems to fix the send image buttons.
ya auto's issue post is closed
- https://github.com/gradio-app/gradio/issues/7591
Is there any timeline when gradio 4.0 update will be ready?
I am testing sd-webui-controlnet against gradio4 setup. However, a bunch of front-end issue seems to occur whenever I interact with almost anything on the extension UI. Any idea on this?
I don't know when I will merge this in. With SD3, it definitely should be after that.
I also want to get some info about which big extensions this breaks, and possibly fix compatibility issues from our side.
I bet Gradio 4 would break so many stuff
SD3 must be more priority I agree thank you so much @AUTOMATIC1111
Can't wait for FileExplorer 🤤