opparco / stable-diffusion-webui-two-shot

Latent Couple extension (two shot diffusion port)
MIT License
714 stars 151 forks source link

Blank canva laggy then crash (gradio: 3.23.0) #38

Open pralium444 opened 1 year ago

pralium444 commented 1 year ago

Creating Blank canva then hover on to it With updated Automatic1111 -> (python 3.10.9) (gradio: 3.23.0) needs updating to 3.23 ? "extensions" folder show gradio-3.16.2-py3-none-any.whl Any help appreciated. Thanks for your extension ! much love

mazejk commented 1 year ago

same issue here, did you fix it ?

pralium444 commented 1 year ago

even divisions in rectangular tab not working, latest update from today didn't fix the issue

MrZomboED commented 1 year ago

same shit man, even old version lags

MrZomboED commented 1 year ago

Could sound stupid but i fixed it just with changing browser. It's been laggy in operagx, but all perfectly work in edge

Edit. Won't work in other browsers anymore

JonathanWac commented 1 year ago

Just wanted to confirm also. I had the same issue and it fixed itself by moving from Chrome to Edge. I can now draw and use the canvas just fine.

mazejk commented 1 year ago

changing browser doesn't work for me unfortunately

pralium444 commented 1 year ago

same, does not work even Ashen's fork. I'm on chrome, i tried every browser...

cubertarray commented 1 year ago

Problem persists after fresh install of both WebUI and two-shot extension.

But I also noticed, that problem with freshly created blank canvas only persists on the text2img tab. When I use the two-shot extension to create blank canvas on img2img tab, I can draw on it without any problems.

Maybe since img2img tab has gradio-based drawing tools by default, it forces two-shot extension to use the main (3.23.0 for me currently) version of gradio, while txt2img doesn't?

Edit: After some time without any particular meaningful steps problem appeared on img2img tab too. Looks like its capable of working initially, but breaks on repetition.

AsheGeisha commented 1 year ago

Anyone found the solution?

Kelebrim commented 1 year ago

Found a workaround, at least for me, created white png of required size in paint and uploaded it instead of creating blank canvas

Meathelix1 commented 1 year ago

Still have this issue today. Anyone found a fix?

pralium444 commented 1 year ago

Creating a 512x512 image with photoshop, then importing and redraw on it works EDIT : the canva does not crash but the separation AND does not work, it blends the two characters

MrZomboED commented 1 year ago

Guys, I figured out what the problem is. Page scaling. Don't change it, leave it at 100%. The problem happens even if you give a value of 110%. After I returned the usual 100%, the canvas worked for me even where it had refused to work before For some reason nothing crashes if i doing 90% and less values, but crashes if scaling is more than 100%

pralium444 commented 1 year ago

for me at 100%, doesn't crash but can't draw anything

evanerichards commented 1 year ago

I've just found this thread. I'm running into the same thing. My page scaling is at 100% so that isn't my issue.

Muskworker commented 1 year ago

My page scaling was at 100% in the browser but I still had the alert show that I was at 200%.

Setting my scaling to 50% let it run.