aboutsummaryrefslogtreecommitdiff
path: root/modules/processing.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/processing.py')
-rw-r--r--modules/processing.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/processing.py b/modules/processing.py
index a5b2afb9..b744aa87 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -132,7 +132,9 @@ def process_images(p: StableDiffusionProcessing) -> Processed:
"Sampler": samplers[p.sampler_index].name,
"CFG scale": p.cfg_scale,
"Seed": all_seeds[position_in_batch + iteration * p.batch_size],
- "GFPGAN": ("GFPGAN" if p.use_GFPGAN else None)
+ "GFPGAN": ("GFPGAN" if p.use_GFPGAN else None),
+ "Batch size": (None if p.batch_size < 2 else p.batch_size),
+ "Batch pos": (None if p.batch_size < 2 else position_in_batch),
}
if p.extra_generation_params is not None: