aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/xyz_grid.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-02-19 15:31:07 +0000
committerAUTOMATIC <16777216c@gmail.com>2023-02-19 15:31:51 +0000
commit65995a2ea38a1a0afd06cb508a4f65fd0d3a1743 (patch)
treec285572162b8f26aea47769c6060e977cb98842a /scripts/xyz_grid.py
parent076d624a297532d6e4abebe5807fd7c7504d7a73 (diff)
downloadstable-diffusion-webui-gfx803-65995a2ea38a1a0afd06cb508a4f65fd0d3a1743.tar.gz
stable-diffusion-webui-gfx803-65995a2ea38a1a0afd06cb508a4f65fd0d3a1743.tar.bz2
stable-diffusion-webui-gfx803-65995a2ea38a1a0afd06cb508a4f65fd0d3a1743.zip
possible fix for #7804
Diffstat (limited to 'scripts/xyz_grid.py')
-rw-r--r--scripts/xyz_grid.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py
index 4afcbbfd..53511b12 100644
--- a/scripts/xyz_grid.py
+++ b/scripts/xyz_grid.py
@@ -244,6 +244,9 @@ def draw_xyz_grid(p, xs, ys, zs, x_labels, y_labels, z_labels, cell, draw_legend
cell_mode = processed_image.mode
cell_size = processed_image.size
processed_result.images = [Image.new(cell_mode, cell_size)]
+ processed_result.all_prompts = [processed.prompt]
+ processed_result.all_seeds = [processed.seed]
+ processed_result.infotexts = [processed.infotexts[0]]
image_cache[index(ix, iy, iz)] = processed_image
if include_lone_images: