Swap the order of variables

This commit is contained in:
Limitex
2023-12-27 08:25:32 +09:00
parent 149194598b
commit 815bdf0d3d
+2 -2
View File
@@ -108,8 +108,8 @@ class DiffusersModelMakeup:
return {
"required": {
"pipeline": ("PIPELINE", ),
"autoencoder": ("AUTOENCODER", ),
"scheduler": ("SCHEDULER", ),
"autoencoder": ("AUTOENCODER", ),
},
}
@@ -119,7 +119,7 @@ class DiffusersModelMakeup:
CATEGORY = "Diffusers"
def makeup_pipeline(self, pipeline, autoencoder, scheduler):
def makeup_pipeline(self, pipeline, scheduler, autoencoder):
pipeline = pipeline[0]
pipeline.vae = autoencoder
pipeline.scheduler = scheduler