-
Notifications
You must be signed in to change notification settings - Fork 27.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: --gradio-img2img-tool color-sketch breaks "send to img2img" button + weird bug on inpaint tab + Image Browser extension "Send to.." bug #6388
Comments
+1 for your 3rd bug. send to img2img seems to be broken across the board for me.
|
This PR fixes the error with the "send to" on the image browser extension: |
@Nacurutu Tried out adding the changes from that PR you linked, but I'm still getting the same error:
|
I believe this error is unrelated. The issue you have says that the file that was converted into an stream of bytes format (io.BytesIO) is not an image. So either the information wasn't properly converted, or it's sending the wrong file. Without knowing how you got there, I'd say, with all the updates lately, you are probably using an extension in this situation, and it hasn't been updated. Detail how you get to the point that causes the error, and make another bug report. |
put these lines at the end of the style.css
|
@anapnoe Please don't use "!important", just increase the specifity as needed. "!important" is the highest specificity, and the only way to overcome it is to keep using it, and eventually all rules will use it plus needing to be more specific. It is better to just be specific enough at the start, so when other rules come in to play, a user has an oppurtunity to overcome it, reasons can be simple styling or accessibility. Nacurutu/Dark-Themes-SD-WebUI-Automatic1111#3 (comment) Scroll down in that comment until you see some css rules. You'll see that the default uses "!important", this is why everyone else is having problems overcoming it. Those rules need to be fixed, then other rules can come in to play, without the need of "!important". |
unfortunately when there is a bug and you want to be sure that the inline gradio attributes wont interfere with what you are trying to solve it is necessary (width and height are set inline from gradio app) |
@anapnoe It isn't a gradio bug. Someone didn't know what they were doing, so they used "!important" in styles.css |
@anapnoe If the main ui is getting overhauled, it is better to fix these issues, then to build upon the issues; which would make it harder to fix in the future. This is why the ui code is a mess; too many workarounds of other peoples coding styles or people that learned some coding during the lockdown, not knowing the implications and repercussions of what they were doing. |
you are right i will do a cleanup usually i do it at he end from bottom to top to remove duplicates and fix these issues |
@anapnoe It is a challenge. There's just so much. In my opinion, it'll be better to not be concerned about breaking others code, to go with a base standard, let them update to the standards. |
@Merkuriij could you please try this one? |
I also have the same problem as you. It seems to be a bug, which actually zooms in in the background until it finally splits, and at first it will report an error to me, indicating that the picture already has 280 million pixels, then split, and then I reinstall it again, the problem is the same, but no longer show me the error message, I do not know when this bug can be repaired (if there is a problem with the sketch function in img2img, this will also have a problem) |
Is there an existing issue for this?
What happened?
I have --gradio-img2img-tool color-sketch on set COMMANDLINE_ARGS=
When I press the "send to img2img" button, the image in the img2img tab appears and after 1 second becomes a solid color.
Removing --gradio-img2img-tool color-sketch from set COMMANDLINE_ARGS= makes the send to img2img button works properly and the image appears as it should.
But, If I open an image directly on img2img tab, I can use the "paint tool" without a problem.
It only happens with --gradio-img2img-tool color-sketch and using the send to img2img button.
A second bug (not related with --gradio-img2img-tool color-sketch ARG) occurs on inpaint tab. it doubles the image after I start painting the mask.
The third bug (not related with --gradio-img2img-tool color-sketch ARG):
None of the "send to.." buttons of Image browser extension works. they send the image info but not the image.
Steps to reproduce the problem
Add --gradio-img2img-tool color-sketch to "set COMMANDLINE_ARGS="
Run the WebUI
Generate an image on txt2image
Click on "send to img2img"
Image will break after 1 second.
Remove --gradio-img2img-tool color-sketch from "set COMMANDLINE_ARGS="
Run the WebUI
Generate an image on txt2image
Click on "send to img2img"
Image appears as it should.
What should have happened?
Images appearing as they should on img2img with the --gradio-img2img-tool color-sketch argument active and using the send to img2img button.
Inpaint without a double
Image Browser "send to..." buttons to send images to destination.
Commit where the problem happens
310b71f
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
Additional information, context and logs
Google chrome console Log after Using "send to img2img" from txt2img
The text was updated successfully, but these errors were encountered: