Skip to content

Commit

Permalink
possible fix for #7804
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Feb 19, 2023
1 parent 076d624 commit 65995a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/xyz_grid.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ def index(ix, iy, iz):
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:
Expand Down

0 comments on commit 65995a2

Please sign in to comment.