mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-21 03:50:36 -08:00
Add endpoint to get latent_upscale_modes for hires fix
This commit is contained in:
parent
fbf88343de
commit
4faaf3e723
2 changed files with 12 additions and 0 deletions
|
|
@ -241,6 +241,9 @@ class UpscalerItem(BaseModel):
|
|||
model_url: Optional[str] = Field(title="URL")
|
||||
scale: Optional[float] = Field(title="Scale")
|
||||
|
||||
class LatentUpscalerModeItem(BaseModel):
|
||||
name: str = Field(title="Name")
|
||||
|
||||
class SDModelItem(BaseModel):
|
||||
title: str = Field(title="Title")
|
||||
model_name: str = Field(title="Model Name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue