diff options
author | AUTOMATIC <16777216c@gmail.com> | 2023-01-24 07:05:45 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2023-01-24 07:05:45 +0000 |
commit | 42a70d74771e8920f658e741679768ed145dd76a (patch) | |
tree | 387420173546af948a850adf947513fa174cb3ad /modules/api/models.py | |
parent | 8b903322e66a694245970832f7fa89e2faa2ad0a (diff) | |
download | stable-diffusion-webui-gfx803-42a70d74771e8920f658e741679768ed145dd76a.tar.gz stable-diffusion-webui-gfx803-42a70d74771e8920f658e741679768ed145dd76a.tar.bz2 stable-diffusion-webui-gfx803-42a70d74771e8920f658e741679768ed145dd76a.zip |
repair sdapi/v1/upscalers returning bogus results
Diffstat (limited to 'modules/api/models.py')
-rw-r--r-- | modules/api/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/models.py b/modules/api/models.py index 1eb1fcf1..e562ab54 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -219,7 +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): title: str = Field(title="Title") |