diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-24 07:09:30 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-24 07:09:30 +0000 |
commit | 602a1864b05075ca4283986e6f5c7d5bce864e11 (patch) | |
tree | f45910524e7785b9ea105973d8d465de9f2a4f2c /modules/api/models.py | |
parent | 42a70d74771e8920f658e741679768ed145dd76a (diff) | |
download | stable-diffusion-webui-gfx803-602a1864b05075ca4283986e6f5c7d5bce864e11.tar.gz stable-diffusion-webui-gfx803-602a1864b05075ca4283986e6f5c7d5bce864e11.tar.bz2 stable-diffusion-webui-gfx803-602a1864b05075ca4283986e6f5c7d5bce864e11.zip |
also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing
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 e562ab54..805bd8f7 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -219,6 +219,7 @@ class UpscalerItem(BaseModel): name: str = Field(title="Name") model_name: Optional[str] = Field(title="Model Name") model_path: Optional[str] = Field(title="Path") + model_url: Optional[str] = Field(title="URL") scale: Optional[float] = Field(title="Scale") class SDModelItem(BaseModel): |