Update accel_sdxl_gen_img.py

This commit is contained in:
DKnight54
2025-01-28 06:00:39 +08:00
committed by GitHub
parent 8d8e7e4059
commit 009d07a988

View File

@@ -2467,7 +2467,7 @@ def main(args):
# repeat prompt
for pi in range(args.images_per_prompt if len(raw_prompts) == 1 else len(raw_prompts)):
raw_prompt = raw_prompts[pi] if len(raw_prompts) > 1 else raw_prompts[0]
if pi == 0 # or len(raw_prompts) > 1:
if pi == 0: # or len(raw_prompts) > 1:
# parse prompt: if prompt is not changed, skip parsing
width = args.W