aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-05-31 16:15:21 +0000
committerGitHub <noreply@github.com>2023-05-31 16:15:21 +0000
commit52b8752e6201e24c783f674f8dc0681027e10ea9 (patch)
tree30470f64d84cadc4140023c0bf34c35bb68f79b0 /modules/api/models.py
parent00dfe27f59727407c5b408a80ff2a262934df495 (diff)
parent78a602ae8c006077ca93913576335a3a33dba7cb (diff)
downloadstable-diffusion-webui-gfx803-52b8752e6201e24c783f674f8dc0681027e10ea9.tar.gz
stable-diffusion-webui-gfx803-52b8752e6201e24c783f674f8dc0681027e10ea9.tar.bz2
stable-diffusion-webui-gfx803-52b8752e6201e24c783f674f8dc0681027e10ea9.zip
Merge branch 'dev' into report-error
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index 1ff2fb33..47fdede2 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -249,6 +249,10 @@ class SDModelItem(BaseModel):
filename: str = Field(title="Filename")
config: Optional[str] = Field(title="Config file")
+class SDVaeItem(BaseModel):
+ model_name: str = Field(title="Model Name")
+ filename: str = Field(title="Filename")
+
class HypernetworkItem(BaseModel):
name: str = Field(title="Name")
path: Optional[str] = Field(title="Path")