aboutsummaryrefslogtreecommitdiffstats
path: root/modules/api/models.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2022-12-24 06:58:28 +0000
committerGitHub <noreply@github.com>2022-12-24 06:58:28 +0000
commitfac92610d22d1166890b17b167c034090a096e5a (patch)
tree059e9c4d3314278472b8f4e1b0a14b59952d7973 /modules/api/models.py
parent94450b88775ee14392d05ef6a8fc915b93946b9e (diff)
parentc0355caefe3d82e304e6d832699d581fc8f9fbf9 (diff)
downloadstable-diffusion-webui-gfx803-fac92610d22d1166890b17b167c034090a096e5a.tar.gz
stable-diffusion-webui-gfx803-fac92610d22d1166890b17b167c034090a096e5a.tar.bz2
stable-diffusion-webui-gfx803-fac92610d22d1166890b17b167c034090a096e5a.zip
Merge pull request #5753 from calvinballing/master
Fix various typos
Diffstat (limited to 'modules/api/models.py')
-rw-r--r--modules/api/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/api/models.py b/modules/api/models.py
index f77951fc..a22bc6b3 100644
--- a/modules/api/models.py
+++ b/modules/api/models.py
@@ -128,7 +128,7 @@ class ExtrasBaseRequest(BaseModel):
upscaling_resize: float = Field(default=2, title="Upscaling Factor", ge=1, le=4, description="By how much to upscale the image, only used when resize_mode=0.")
upscaling_resize_w: int = Field(default=512, title="Target Width", ge=1, description="Target width for the upscaler to hit. Only used when resize_mode=1.")
upscaling_resize_h: int = Field(default=512, title="Target Height", ge=1, description="Target height for the upscaler to hit. Only used when resize_mode=1.")
- upscaling_crop: bool = Field(default=True, title="Crop to fit", description="Should the upscaler crop the image to fit in the choosen size?")
+ upscaling_crop: bool = Field(default=True, title="Crop to fit", description="Should the upscaler crop the image to fit in the chosen size?")
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.")