1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 15:04:50 +08:00

Small cleanup.

This commit is contained in:
comfyanonymous
2024-04-04 11:16:49 -04:00
parent f117566299
commit fcfd2bdf8a
2 changed files with 8 additions and 5 deletions

View File

@@ -397,7 +397,7 @@ class CFGGuider:
def get_guider(self, model, positive, negative, cfg):
guider = comfy.samplers.CFGGuider(model)
guider.set_conds({"positive": positive, "negative": negative})
guider.set_conds(positive, negative)
guider.set_cfg(cfg)
return (guider,)