aboutsummaryrefslogtreecommitdiff
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-24 10:09:30 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-01-24 10:09:30 +0300
commit602a1864b05075ca4283986e6f5c7d5bce864e11 (patch)
treef45910524e7785b9ea105973d8d465de9f2a4f2c /modules/api/models.py
parent42a70d74771e8920f658e741679768ed145dd76a (diff)
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.py1
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):