(args)
| 130 | if cfgpp or use_negative: |
| 131 | uncond = None |
| 132 | def post_cfg_function(args): |
| 133 | nonlocal uncond |
| 134 | uncond = args["uncond_denoised"] |
| 135 | return args["denoised"] |
| 136 | model_options = extra_args.get("model_options", {}).copy() |
| 137 | extra_args["model_options"] = comfy.model_patcher.set_model_options_post_cfg_function(model_options, post_cfg_function) |
| 138 |
nothing calls this directly
no outgoing calls
no test coverage detected