diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2022-11-11 12:51:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 12:51:14 +0000 |
commit | ec95ced6fb04c8675b73b7e82d2284371d5d9ae6 (patch) | |
tree | acab85df5ad71c8f2b19bac3b9b8f4d2158c9f5c /scripts/prompt_matrix.py | |
parent | 73776907ec460747f37e1154d890a44fd83b8440 (diff) | |
parent | b98740129c435f04a060369bd071fc4bafe021f5 (diff) | |
download | stable-diffusion-webui-gfx803-ec95ced6fb04c8675b73b7e82d2284371d5d9ae6.tar.gz stable-diffusion-webui-gfx803-ec95ced6fb04c8675b73b7e82d2284371d5d9ae6.tar.bz2 stable-diffusion-webui-gfx803-ec95ced6fb04c8675b73b7e82d2284371d5d9ae6.zip |
Merge pull request #4573 from liamkerr/4415-update-generation-info
4415 update generation info
Diffstat (limited to 'scripts/prompt_matrix.py')
-rw-r--r-- | scripts/prompt_matrix.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/prompt_matrix.py b/scripts/prompt_matrix.py index e49c9b20..4d1e152d 100644 --- a/scripts/prompt_matrix.py +++ b/scripts/prompt_matrix.py @@ -80,6 +80,8 @@ class Script(scripts.Script): grid = images.image_grid(processed.images, p.batch_size, rows=1 << ((len(prompt_matrix_parts) - 1) // 2))
grid = images.draw_prompt_matrix(grid, p.width, p.height, prompt_matrix_parts)
processed.images.insert(0, grid)
+ processed.index_of_first_image = 1
+ processed.infotexts.insert(0, processed.infotexts[0])
if opts.grid_save:
images.save_image(processed.images[0], p.outpath_grids, "prompt_matrix", prompt=original_prompt, seed=processed.seed, grid=True, p=p)
|