|
|
|
|
@ -65,7 +65,7 @@ def run_extras(image, gfpgan_visibility, codeformer_visibility, codeformer_weigh
|
|
|
|
|
while len(cached_images) > 2:
|
|
|
|
|
del cached_images[next(iter(cached_images.keys()))]
|
|
|
|
|
|
|
|
|
|
images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras", p=p)
|
|
|
|
|
images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras")
|
|
|
|
|
|
|
|
|
|
return image, plaintext_to_html(info), ''
|
|
|
|
|
|
|
|
|
|
|