Skip to content
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

Fix "Bug batch process" on extras tab , even with a clean install of "stable diffusion webui" #9314

Merged
merged 2 commits into from
Apr 29, 2023

Conversation

Pluventi
Copy link
Contributor

@Pluventi Pluventi commented Apr 3, 2023

What is this query for?

This request is there to change a line of code which caused a bug even after a clean reinstallation of "stable diffusion webui" concerning the "batch process" in the "Extras" tab

Additional Note

This is a very slight change to one line of code, the bug I'm talking about is an error that looks like an error opening image(s), despite all the updates I have made on pillow, gradio...
I tried images in different formats thinking "pillow" doesn't support them or checking that my images weren't corrupted, inaccessible... it turned out that after changing in "modules/postprocessing .py", line 21, "image=Image.open(img)", so I changed it to "image=Image.open(img.name)", and it worked, I had seen before on some forums it seems to me that "Image.open ( img.name) )" was causing errors, and this should be fixed by "image=Image.open(img.name)"

Environment in which it was tested

Operating System: Windows 10
Browser: Chrome
Graphics: NVIDIA GeForce GTX 1660

a
b

Solution for anyone getting an error when batching on extras, even with a clean install of "stable diffusion webui"
@Pluventi Pluventi requested a review from AUTOMATIC1111 as a code owner April 3, 2023 01:46
@Soulreaver90
Copy link

This fixed my issue, thank you

@Pluventi Pluventi changed the title Update postprocessing.py Bug "batch process" on extras tab , even with a clean install of "stable diffusion webui" Apr 4, 2023
@Pluventi Pluventi changed the title Bug "batch process" on extras tab , even with a clean install of "stable diffusion webui" Fix "Bug batch process" on extras tab , even with a clean install of "stable diffusion webui" Apr 4, 2023
@AUTOMATIC1111 AUTOMATIC1111 changed the base branch from master to dev April 29, 2023 14:01
@AUTOMATIC1111 AUTOMATIC1111 merged commit c89cad2 into AUTOMATIC1111:dev Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants