diff options
author | AngelBottomless <35677394+aria1th@users.noreply.github.com> | 2022-11-04 06:51:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 06:51:09 +0000 |
commit | 179702adc40cc8d9c97ae883ee9d0f7c79076047 (patch) | |
tree | 34b166971e0d8b5b2b8a7ec631d7395072f3f218 /modules/api | |
parent | 0d07cbfa15d34294a4fa22d74359cdd6fe2f799c (diff) | |
parent | f2b69709eaff88fc3a2bd49585556ec0883bf5ea (diff) | |
download | stable-diffusion-webui-gfx803-179702adc40cc8d9c97ae883ee9d0f7c79076047.tar.gz stable-diffusion-webui-gfx803-179702adc40cc8d9c97ae883ee9d0f7c79076047.tar.bz2 stable-diffusion-webui-gfx803-179702adc40cc8d9c97ae883ee9d0f7c79076047.zip |
Merge branch 'AUTOMATIC1111:master' into force-push-patch-13
Diffstat (limited to 'modules/api')
-rw-r--r-- | modules/api/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/api/models.py b/modules/api/models.py index 9ee42a17..68fb45c6 100644 --- a/modules/api/models.py +++ b/modules/api/models.py @@ -131,6 +131,7 @@ class ExtrasBaseRequest(BaseModel): upscaler_1: str = Field(default="None", title="Main upscaler", description=f"The name of the main upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}") upscaler_2: str = Field(default="None", title="Secondary upscaler", description=f"The name of the secondary upscaler to use, it has to be one of this list: {' , '.join([x.name for x in sd_upscalers])}") extras_upscaler_2_visibility: float = Field(default=0, title="Secondary upscaler visibility", ge=0, le=1, allow_inf_nan=False, description="Sets the visibility of secondary upscaler, values should be between 0 and 1.") + upscale_first: bool = Field(default=False, title="Upscale first", description="Should the upscaler run before restoring faces?") class ExtraBaseResponse(BaseModel): html_info: str = Field(title="HTML info", description="A series of HTML tags containing the process info.") |