Skip to content

Commit 8eb64da

Browse files
authored
fix: correct default val of upscale_first to False
1 parent 2ac25ea commit 8eb64da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/api/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class ExtrasBaseRequest(BaseModel):
131131
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])}")
132132
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])}")
133133
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.")
134-
upscale_first: bool = Field(default=True, title="Upscale first", description="Should the upscaler run before restoring faces?")
134+
upscale_first: bool = Field(default=False, title="Upscale first", description="Should the upscaler run before restoring faces?")
135135

136136
class ExtraBaseResponse(BaseModel):
137137
html_info: str = Field(title="HTML info", description="A series of HTML tags containing the process info.")

0 commit comments

Comments
 (0)