mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-04-25 22:31:41 -07:00
repair sdapi/v1/upscalers returning bogus results
This commit is contained in:
parent
8b903322e6
commit
42a70d7477
2 changed files with 10 additions and 8 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue