mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-29 18:51:31 +00:00
Update controlnet_ui_group.py
This commit is contained in:
@@ -926,10 +926,7 @@ class ControlNetUiGroup(object):
|
|||||||
resolution=pres,
|
resolution=pres,
|
||||||
slider_1=pthr_a,
|
slider_1=pthr_a,
|
||||||
slider_2=pthr_b,
|
slider_2=pthr_b,
|
||||||
low_vram=(
|
low_vram=shared.opts.data.get("controlnet_clip_detector_on_cpu", False),
|
||||||
("clip" in module or module == "ip-adapter_face_id_plus")
|
|
||||||
and shared.opts.data.get("controlnet_clip_detector_on_cpu", False)
|
|
||||||
),
|
|
||||||
json_pose_callback=json_acceptor.accept
|
json_pose_callback=json_acceptor.accept
|
||||||
if is_openpose(module)
|
if is_openpose(module)
|
||||||
else None,
|
else None,
|
||||||
|
|||||||
Reference in New Issue
Block a user