mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix typo in setting IP-Adapter scales.
This commit is contained in:
parent
4df1cdb34d
commit
43a3c3c7ea
@ -541,7 +541,7 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline):
|
|||||||
attn_ctx.scales[i] = weight
|
attn_ctx.scales[i] = weight
|
||||||
else:
|
else:
|
||||||
# Otherwise, set the IP-Adapter's scale to 0, so it has no effect.
|
# Otherwise, set the IP-Adapter's scale to 0, so it has no effect.
|
||||||
attn_ctx.scales[i] = weight
|
attn_ctx.scales[i] = 0.0
|
||||||
|
|
||||||
# Handle ControlNet(s) and T2I-Adapter(s)
|
# Handle ControlNet(s) and T2I-Adapter(s)
|
||||||
down_block_additional_residuals = None
|
down_block_additional_residuals = None
|
||||||
|
Loading…
Reference in New Issue
Block a user