chore: ruff and lint fixes

This commit is contained in:
blessedcoolant
2024-04-03 20:38:29 +05:30
parent cf88bd3294
commit 5f01de1993
2 changed files with 4 additions and 1 deletions

View File

@ -372,6 +372,7 @@ const parseIPAdapter: MetadataParseFunc<IPAdapterConfigMetadata> = async (metada
type: 'ip_adapter',
isEnabled: true,
model: zModelIdentifierField.parse(ipAdapterModel),
clipVisionModel: 'ViT-H',
controlImage: image?.image_name ?? null,
weight: weight ?? initialIPAdapter.weight,
beginStepPct: begin_step_percent ?? initialIPAdapter.beginStepPct,