aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-03-11 15:59:13 +0300
committerGitHub <noreply@github.com>2023-03-11 15:59:13 +0300
commit463711634171dff76f45249fa189942ae920749f (patch)
tree5bec5ad749dc90a97ef6cf04c4a2aedcdbc88d9d
parent6da2027213c3bf132c54489d34c48ec084f8dc11 (diff)
parent2fa91cbee65429e611861df1c32657c941f4acaf (diff)
Merge pull request #8021 from 112292454/master
continue fix prompt_matrix.py when high-res
-rw-r--r--scripts/prompt_matrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prompt_matrix.py b/scripts/prompt_matrix.py
index b1c486d4..e9b11517 100644
--- a/scripts/prompt_matrix.py
+++ b/scripts/prompt_matrix.py
@@ -100,7 +100,7 @@ class Script(scripts.Script):
processed = process_images(p)
grid = images.image_grid(processed.images, p.batch_size, rows=1 << ((len(prompt_matrix_parts) - 1) // 2))
- grid = images.draw_prompt_matrix(grid, processed.images[0].width, processed.images[1].height, prompt_matrix_parts, margin_size)
+ grid = images.draw_prompt_matrix(grid, processed.images[0].width, processed.images[0].height, prompt_matrix_parts, margin_size)
processed.images.insert(0, grid)
processed.index_of_first_image = 1
processed.infotexts.insert(0, processed.infotexts[0])