mirror of
https://github.com/vladmandic/automatic
synced 2026-08-26 15:16:01 +02:00
full codespell coverage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ def get_gpu_smi():
|
||||
|
||||
|
||||
"""
|
||||
Resut should always be: list[ResGPU]
|
||||
Result should always be: list[ResGPU]
|
||||
class ResGPU(BaseModel):
|
||||
name: str = Field(title="GPU Name")
|
||||
data: dict = Field(title="Name/Value data")
|
||||
|
||||
@@ -217,7 +217,7 @@ class ItemFace(BaseModel):
|
||||
mode: str = Field(title="Mode", default="FaceID", description="The mode to use (available values: FaceID, FaceSwap, PhotoMaker, InstantID).")
|
||||
source_images: list[str] = Field(title="Source Images", description="Source face images, must be base64 encoded containing the image's data.")
|
||||
ip_model: str = Field(title="IPAdapter Model", default="FaceID Base", description="The IPAdapter model to use.")
|
||||
ip_override_sampler: bool = Field(title="IPAdapter Override Sampler", default=True, description="Should the sampler be overriden?")
|
||||
ip_override_sampler: bool = Field(title="IPAdapter Override Sampler", default=True, description="Should the sampler be overridden?")
|
||||
ip_cache_model: bool = Field(title="IPAdapter Cache", default=True, description="Should the IPAdapter model be cached?")
|
||||
ip_strength: float = Field(title="IPAdapter Strength", default=1, ge=0, le=2, description="IPAdapter strength of the source images, must be between 0.0 and 2.0.")
|
||||
ip_structure: float = Field(title="IPAdapter Structure", default=1, ge=0, le=1, description="IPAdapter structure to use, must be between 0.0 and 1.0.")
|
||||
|
||||
@@ -23,7 +23,7 @@ class ResPreprocess(BaseModel):
|
||||
class ReqMask(BaseModel):
|
||||
image: str = Field(title="Image", description="The base64 encoded image")
|
||||
type: str = Field(title="Mask type", description="Type of masking image to return")
|
||||
mask: str | None = Field(title="Mask", description="If optional maks image is not provided auto-masking will be performed")
|
||||
mask: str | None = Field(title="Mask", description="If optional mask image is not provided auto-masking will be performed")
|
||||
model: str | None = Field(title="Model", description="The model to use for preprocessing")
|
||||
params: dict | None = Field(default={}, title="Settings", description="Preprocessor settings")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user