mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-01 05:49:45 +00:00
13 lines
262 B
Python
13 lines
262 B
Python
def apply_controlnet_advanced(
|
|
unet,
|
|
controlnet,
|
|
image,
|
|
strength,
|
|
start_percent,
|
|
end_percent,
|
|
positive_advanced_weighting=None,
|
|
negative_advanced_weighting=None):
|
|
m = unet.clone()
|
|
|
|
return m
|