diff options
author | Jim Hays <jim@emporatitle.com> | 2022-12-15 02:01:32 +0000 |
---|---|---|
committer | Jim Hays <jim@emporatitle.com> | 2022-12-15 02:01:32 +0000 |
commit | c0355caefe3d82e304e6d832699d581fc8f9fbf9 (patch) | |
tree | fd4289de6410ad909371225550e768e37136661e /modules/api/models.py | |
parent | 685f9631b56ff8bd43bce24ff5ce0f9a0e9af490 (diff) | |
download | stable-diffusion-webui-gfx803-c0355caefe3d82e304e6d832699d581fc8f9fbf9.tar.gz stable-diffusion-webui-gfx803-c0355caefe3d82e304e6d832699d581fc8f9fbf9.tar.bz2 stable-diffusion-webui-gfx803-c0355caefe3d82e304e6d832699d581fc8f9fbf9.zip |
Fix various typos
Diffstat (limited to 'modules/api/models.py')
-rw-r--r-- | modules/api/models.py | 2 |
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.") |