diff options
author | ramyma <ramy.mahmoudi@gmail.com> | 2023-06-04 13:59:23 +0000 |
---|---|---|
committer | ramyma <ramy.mahmoudi@gmail.com> | 2023-06-04 14:05:29 +0000 |
commit | 4faaf3e723ddaec022af85d6e66c3b1bac449584 (patch) | |
tree | 103d371fb984ba553374ad70a801867c8ab035fe /modules/api/models.py | |
parent | fbf88343deff2f0d6c1c375ec858c094ed9fa260 (diff) | |
download | stable-diffusion-webui-gfx803-4faaf3e723ddaec022af85d6e66c3b1bac449584.tar.gz stable-diffusion-webui-gfx803-4faaf3e723ddaec022af85d6e66c3b1bac449584.tar.bz2 stable-diffusion-webui-gfx803-4faaf3e723ddaec022af85d6e66c3b1bac449584.zip |
Add endpoint to get latent_upscale_modes for hires fix
Diffstat (limited to 'modules/api/models.py')
-rw-r--r-- | modules/api/models.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py index 47fdede2..b3a745f0 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -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") |