also return the removed field to sdapi/v1/upscalers because someone might have relied on it existing

This commit is contained in:
AUTOMATIC
2023-01-24 10:09:30 +03:00
parent 42a70d7477
commit 602a1864b0
2 changed files with 2 additions and 0 deletions

View File

@@ -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):