mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): allow controlnet with preprocessed control image
This commit is contained in:
parent
811d9ab55a
commit
f15a328b80
@ -14,7 +14,10 @@ export const addControlNetToLinearGraph = (
|
||||
|
||||
const validControlNets = filter(
|
||||
controlNets,
|
||||
(c) => c.isEnabled && Boolean(c.processedControlImage)
|
||||
(c) =>
|
||||
c.isEnabled &&
|
||||
(Boolean(c.processedControlImage) ||
|
||||
(c.processorType === 'none' && Boolean(c.controlImage)))
|
||||
);
|
||||
|
||||
// Add ControlNet
|
||||
|
Loading…
Reference in New Issue
Block a user