diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-01-11 16:06:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 16:06:08 +0000 |
commit | 590ff5ce5b2e4474f998421c8de99baf74c45b5b (patch) | |
tree | 60f9e94bd709aed5a2af0ae64377beacc50c156f /modules/api/models.py | |
parent | 6d7f3d107263ed4e767bd2a50cce82f125d4ddbf (diff) | |
parent | 39ea251945d70efcf9b59d44eb0e71269d754aa4 (diff) | |
download | stable-diffusion-webui-gfx803-590ff5ce5b2e4474f998421c8de99baf74c45b5b.tar.gz stable-diffusion-webui-gfx803-590ff5ce5b2e4474f998421c8de99baf74c45b5b.tar.bz2 stable-diffusion-webui-gfx803-590ff5ce5b2e4474f998421c8de99baf74c45b5b.zip |
Merge pull request #6647 from vladmandic/update-progress-api
add textinfo to progress api response
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 034b4aa0..c78095ca 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -168,6 +168,7 @@ class ProgressResponse(BaseModel): 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.") + textinfo: str = Field(default=None, title="Info text", description="Info text used by WebUI.") class InterrogateRequest(BaseModel): image: str = Field(default="", title="Image", description="Image to work on, must be a Base64 string containing the image's data.") |