mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-15 00:32:25 +00:00
Update gen_img.py
This commit is contained in:
@@ -2812,7 +2812,7 @@ def main(args):
|
||||
# override filename to add index number if more than one image per prompt
|
||||
if filename is not None and (args.images_per_prompt > 1 or len(raw_prompts) > 1):
|
||||
fileext = os.path.splitext(filename)
|
||||
filename = fileext[0] + "_%s" + fileext[1] % pi
|
||||
filename = fileext[0] + "_%s" % pi + fileext[1]
|
||||
|
||||
# override Deep Shrink
|
||||
if ds_depth_1 is not None:
|
||||
|
||||
Reference in New Issue
Block a user