[BUG] Not Working As Intended - create a directory with name derived from the prompt #306

This commit is contained in:
AUTOMATIC
2022-09-12 15:41:30 +03:00
parent c205a07fbc
commit a4416f3585
8 changed files with 28 additions and 27 deletions

View File

@@ -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")
images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras", p=p)
return image, plaintext_to_html(info), ''