stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Copy image to Sketch / Inpaint Sketch doesn't work
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
When copying to sketch/inpaint sketch from img2img, it doesn't load. It's been this way since the feature was made available with command line. Now that it's built in it still does not work correctly.
The function to send directly to sketch causing the UI of my browser to freeze (older builds), on new builds, it just errors out and shows an blank canvas image error. Only way to sketch is to drop in my own image through file browser, built in function doesnt work.
Am i the only one with this issue.
Steps to reproduce the problem
- Create an image in txt2img
- Send img to img2img
- Copy img to sketch / inpaint sketch
What should have happened?
Image should load and allow brush edits
Commit where the problem happens
3bf9351a9b
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Mozilla Firefox, Microsoft Edge
Command Line Arguments
--listen --port 7861 --api --enable-insecure-extension-access --xformers --deepdanbooru --gradio-auth 123:abc
Additional information, context and logs
No response
I have this problem too, even since I used the COMMANDLINE_ARGS: "--gradio-img2img-tool color-sketch" and "--gradio-inpaint-tool color-sketch". If I send an image to the sketch tabs the problem occurs, but if I open an image directly from the sketch tabs there is no problem. I'm coming to think that it could be because of the GPU, I have an NVIDIA GTX 1660 SUPER.
I have a similar issue, no idea if it's related, where it sends the image to sketch/inpaint sketch butt he browser just comes to a screeching halt. I cannot click anything anymore. Normal inpainting works like a charm.
I'm happy to know its not just my set up. I was going to try a clean install if so.
If this feature is universally broken, there shouldn't be a UI to trigger it. It's like a self destruct button.
I'm happy to know its not just my set up. I was going to try a clean install if so.
If this feature is universally broken, there shouldn't be a UI to trigger it. It's like a self destruct button.
I've tried a clean install, but the problem persists. I even removed the COMMANDLINE_ARGS and nothing. What GPU do you have?
PD: My current COMMANDLINE_ARGS are: --medvram --opt-split-attention --precision full --no-half --no-half-vae --xformers --deepdanbooru
Also facing same issue, but only through mobile browser (chrome on android). Local (chrome on windows 10) works fine, but it breaks the same way when I use console to force it into mobile mode.
Same issue here for me. I can drag+drop images onto the Sketch tab and that works fine, but the "Copy image to" sketch button causes it to break. I can see the image that I copied kind of zip off going down and right, leaving the same empty white "start drawing" square shown in the picture above. I'm on Windows 11 running Chrome.
Occurring to me under Windows and MacOS, in chrome and safari (I didn't try other browsers)
This appears to be a Gradio issue, which someone already has fixed on newer Gradio versions
https://github.com/gradio-app/gradio/issues/3248
https://github.com/gradio-app/gradio/pull/3277
I just have no idea how to implement them on SD webui, I can't find the function that does the resize in webui's files. Updating Gradio also wouldn't fix it, as it needs major changes (page gets funky and doesn't work)
I'm seeing this issues in 1.3 that dropped today.
I'm seeing this issues in 1.3 that dropped today.
Yo, same. Did you find a fix?
Was this fixed? Because I have nothing in inpaint sketch when I copy the image over. I can download and upload manually.
Also getting this, with macOS + safari if it matters, though for me the image shows up in the inpatient sketch tab, the browser freezes, then the image disappears and it unfreezes.
Also happening for me on Linux
The fix I found for this issue for me was changing the screen resolution on my computer and web browser to 100% screen resolution, i previously had it set at 120% resolution, when i was getting the error. anything above that or lower messes with import to inpaint sketch. It fixed the copy to inpaint sketch white blank photo error. also fixes the inpaint sketch resizing error. only problem i have now, is the txt on my screen is smaller than i would like it to be. hopefully this helps.
Ah, that's interesting, thanks @USER12612301. I'm on a 4K screen with a 150% UI scale. Very likely the reason. And hopefully easy to fix. However, I wouldn't want to go down to 100% because it's already difficult to read sometimes at 150%.
I used three image plates in the interface, but only one of them can be displayed normally, and the others can only select the example and cannot be uploaded from the local area, but the code of the three sections is the same, I don't know why, and it is useless to change the browser (I just started the upload used by source, but I found that there was no response, and I tried to change it to canvas, but it still didn't respond)