diff options
author | evshiron <evshiron@gmail.com> | 2022-10-29 21:19:17 +0000 |
---|---|---|
committer | evshiron <evshiron@gmail.com> | 2022-10-29 21:19:17 +0000 |
commit | 9f104b53c425e248595e5b6481336d2a339e015e (patch) | |
tree | b9bb2a4a1b4df4562c72579874eed32d6d3dfb96 /modules/api/models.py | |
parent | 88f46a5bec610cf03641f18becbe3deda541e982 (diff) | |
download | stable-diffusion-webui-gfx803-9f104b53c425e248595e5b6481336d2a339e015e.tar.gz stable-diffusion-webui-gfx803-9f104b53c425e248595e5b6481336d2a339e015e.tar.bz2 stable-diffusion-webui-gfx803-9f104b53c425e248595e5b6481336d2a339e015e.zip |
preview current image when opts.show_progress_every_n_steps is enabled
Diffstat (limited to 'modules/api/models.py')
-rw-r--r-- | modules/api/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py index 0ab85ec5..c8bc719a 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -161,3 +161,4 @@ class ProgressResponse(BaseModel): progress: float = Field(title="Progress", description="The progress with a range of 0 to 1") eta_relative: float = Field(title="ETA in secs") state: dict = Field(title="State", description="The current state snapshot") + current_image: str = Field(default=None, title="Current image", description="The current image in base64 format. opts.show_progress_every_n_steps is required for this to work.") |