diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-06 17:26:09 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-06 17:26:09 +0000 |
commit | 7e5b8becf959ba869f1fd476e397b83744fc7289 (patch) | |
tree | f5f3b5a3fe5fdb8a177e69c868a12ca1dd84b90f /modules/shared.py | |
parent | fd66199769ebe0851d2ff33fdc7b191421822454 (diff) | |
download | stable-diffusion-webui-gfx803-7e5b8becf959ba869f1fd476e397b83744fc7289.tar.gz stable-diffusion-webui-gfx803-7e5b8becf959ba869f1fd476e397b83744fc7289.tar.bz2 stable-diffusion-webui-gfx803-7e5b8becf959ba869f1fd476e397b83744fc7289.zip |
fix for progress bar
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index e9c88e31..5eac3317 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -49,6 +49,7 @@ class State: sampling_steps = 0
current_latent = None
current_image = None
+ current_progress_index = 0
def interrupt(self):
self.interrupted = True
@@ -102,7 +103,7 @@ class Options: "random_artist_categories": OptionInfo([], "Allowed categories for random artists selection when using the Roll button", gr.CheckboxGroup, {"choices": artist_db.categories()}),
"upscale_at_full_resolution_padding": OptionInfo(16, "Inpainting at full resolution: padding, in pixels, for the masked region.", gr.Slider, {"minimum": 0, "maximum": 128, "step": 4}),
"show_progressbar": OptionInfo(True, "Show progressbar"),
- "show_progress_every_n_steps": OptionInfo(0, "Show show image creation progress every N steps. Set 0 to disable.", gr.Slider, {"minimum": 0, "maximum": 32, "step": 1}),
+ "show_progress_every_n_steps": OptionInfo(0, "Show show image creation progress every N progress pudates. Set 0 to disable.", gr.Slider, {"minimum": 0, "maximum": 32, "step": 1}),
}
def __init__(self):
|