diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-06 09:34:15 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-06 09:34:15 +0000 |
commit | 66a9ca9d00a3bb4e707c76ec6f8c5f90aa48065f (patch) | |
tree | 08f9d1d48ca764384ace6f34e8d32fc597d3ec53 /modules/img2img.py | |
parent | 5e20657146139557d82dc4d0054ceab619caa700 (diff) | |
download | stable-diffusion-webui-gfx803-66a9ca9d00a3bb4e707c76ec6f8c5f90aa48065f.tar.gz stable-diffusion-webui-gfx803-66a9ca9d00a3bb4e707c76ec6f8c5f90aa48065f.tar.bz2 stable-diffusion-webui-gfx803-66a9ca9d00a3bb4e707c76ec6f8c5f90aa48065f.zip |
fixes for incorrect progressbar
Diffstat (limited to 'modules/img2img.py')
-rw-r--r-- | modules/img2img.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/img2img.py b/modules/img2img.py index 600a5172..4d8d4818 100644 --- a/modules/img2img.py +++ b/modules/img2img.py @@ -75,8 +75,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index p.denoising_strength = max(p.denoising_strength * 0.95, 0.1)
history.append(processed.images[0])
- state.nextjob()
-
grid = images.image_grid(history, batch_size, rows=1)
images.save_image(grid, p.outpath_grids, "grid", initial_seed, prompt, opts.grid_format, info=info, short_filename=not opts.grid_extended_filename)
@@ -123,8 +121,6 @@ def img2img(prompt: str, init_img, init_img_with_mask, steps: int, sampler_index p.seed = processed.seed + 1
work_results += processed.images
- state.nextjob()
-
image_index = 0
for y, h, row in grid.tiles:
for tiledata in row:
|