diff options
author | 112292454 <92578848+112292454@users.noreply.github.com> | 2023-02-22 17:55:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 17:55:07 +0000 |
commit | 2fa91cbee65429e611861df1c32657c941f4acaf (patch) | |
tree | 68912895657b184d5a05df965312fd37366db273 | |
parent | 2c58d373dd408153dc126f6eba1525d32fbf92bb (diff) | |
download | stable-diffusion-webui-gfx803-2fa91cbee65429e611861df1c32657c941f4acaf.tar.gz stable-diffusion-webui-gfx803-2fa91cbee65429e611861df1c32657c941f4acaf.tar.bz2 stable-diffusion-webui-gfx803-2fa91cbee65429e611861df1c32657c941f4acaf.zip |
Update prompt_matrix.py
1
-rw-r--r-- | scripts/prompt_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prompt_matrix.py b/scripts/prompt_matrix.py index 7790ac38..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, p.hr_upscale_to_x, p.hr_upscale_to_y,, 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])
|