aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorevshiron <evshiron@gmail.com>2022-10-29 20:02:56 +0000
committerevshiron <evshiron@gmail.com>2022-10-29 20:02:56 +0000
commite9c6c2a51f972fd7cd88ea740ade4ac3d8108b67 (patch)
treed3f6f20ccf22bc53dc8cfeeb8d68a6470f6dee67 /modules/api/models.py
parentf62db4d5c753bc32d2ae166606ce41f4c5fa5c43 (diff)
downloadstable-diffusion-webui-gfx803-e9c6c2a51f972fd7cd88ea740ade4ac3d8108b67.tar.gz
stable-diffusion-webui-gfx803-e9c6c2a51f972fd7cd88ea740ade4ac3d8108b67.tar.bz2
stable-diffusion-webui-gfx803-e9c6c2a51f972fd7cd88ea740ade4ac3d8108b67.zip
add description for state field
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index e1762fb9..709ab5a6 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -160,4 +160,4 @@ class PNGInfoResponse(BaseModel):
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: Json
+ state: Json = Field(title="State", description="The current state snapshot")