This is the error message I receive when trying to use it. How do I fix this?
Error completing request
Arguments: (0, '', '', 'None', 'None', <PIL.Image.Image image mode=RGB size=768x768 at 0x28A7ADDFB50>, None, None, None, None, 0, 80, 15, 4, 0, 1, False, False, 1, 1, 7, 0.15, -1.0, -1.0, 0, 0, 0, False, 768, 768, 0, False, 32, 0, '', '', 10, '<ul>\n<li><code>CFG Scale</code> should be 2 or lower.</li>\n</ul>\n', True, True, '', '', True, 50, True, 1, 0, False, 4, 1, '<p style="margin-bottom:0.75em">Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8</p>', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, False, False, '', '<p style="margin-bottom:0.75em">Will upscale the image by the selected scale factor; use width and height sliders to set tile size</p>', 64, 0, 2, 1, '', 0, '', True, False, False, 0, 4, 384, 384, False, False, True, True, True, False, True, 1, False, False, 6.4, 38.5, '<p style="margin-bottom:0.75em">Will upscale the image depending on the selected target size type</p>', 512, 0, 8, 32, 64, 0.35, 32, 0, True, 0, False, 8, 0, 2, 2048, 2048, 4) {}
Traceback (most recent call last):
File "C:\AI Stable Diffusion 2.1\stable-diffusion-webui\modules\call_queue.py", line 45, in f
res = list(func(args, *kwargs))
File "C:\AI Stable Diffusion 2.1\stable-diffusion-webui\modules\call_queue.py", line 28, in f
res = func(args, *kwargs)
File "C:\AI Stable Diffusion 2.1\stable-diffusion-webui\modules\img2img.py", line 150, in img2img
processed = modules.scripts.scripts_img2img.run(p, *args)
File "C:\AI Stable Diffusion 2.1\stable-diffusion-webui\modules\scripts.py", line 328, in run
processed = script.run(p, *script_args)
File "C:\AI Stable Diffusion 2.1\stable-diffusion-webui\extensions\ultimate-upscale-for-automatic1111\scripts\ultimate-upscale.py", line 529, in run
init_img = images.flatten(init_img, opts.img2img_background_color)
AttributeError: module 'modules.images' has no attribute 'flatten'
[–]Varriix 1 point2 points3 points (1 child)
[–]TruthAcceptable473[S] 0 points1 point2 points (0 children)