advanced-loopback-for-sd-webui icon indicating copy to clipboard operation
advanced-loopback-for-sd-webui copied to clipboard

TypeError: 'module' object is not iterable

Open jmp909 opened this issue 2 years ago • 1 comments

seems to come from what is getting passed in your last line back to the rest of the system return Processed(p, images, infotexts=infotexts,index_of_first_image=0)

File "D:\py\automatic1111\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 3301, in postprocess
    for img in y:
TypeError: 'module' object is not iterable

(webui commit hash: 44c46f0ed395967cd3830dd481a2db759fda5b3b)

thanks

jmp909 avatar Dec 05 '22 18:12 jmp909

it used to work but maybe try this?

return Processed(p, output_images, infotexts=infotexts,index_of_first_image=0)`

note output_images instead of images above

not sure if you're trying to save the original and the upscaled image or not though

jmp909 avatar Dec 05 '22 18:12 jmp909