Skip to content

Commit 6efdfe3

Browse files
committed
if use use_main_prompt index = 0
1 parent e164031 commit 6efdfe3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/processing.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,9 @@ def program_version():
704704

705705

706706
def create_infotext(p, all_prompts, all_seeds, all_subseeds, comments=None, iteration=0, position_in_batch=0, use_main_prompt=False, index=None, all_negative_prompts=None, all_hr_prompts=None, all_hr_negative_prompts=None):
707-
if index is None:
707+
if use_main_prompt:
708+
index = 0
709+
elif index is None:
708710
index = position_in_batch + iteration * p.batch_size
709711

710712
if all_negative_prompts is None:

0 commit comments

Comments
 (0)