mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-22 07:43:58 +00:00
i
This commit is contained in:
@@ -143,7 +143,7 @@ class UiControlNetUnit(external_code.ControlNetUnit):
|
||||
):
|
||||
if use_preview_as_input and generated_image is not None:
|
||||
input_image = generated_image
|
||||
module = "none"
|
||||
module = "None"
|
||||
else:
|
||||
input_image = image
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ class ControlNetForForgeOfficial(scripts.Script):
|
||||
cls = UiControlNetUnit if is_ui else external_code.ControlNetUnit
|
||||
return cls(
|
||||
enabled=False,
|
||||
module="none",
|
||||
module="None",
|
||||
model="None"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user