File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
src/diffusers/modular_pipelines Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 5454 "min" : 0 ,
5555 "max" : 1 ,
5656 },
57- "controlnet " : {
57+ "controlnet_bundle " : {
5858 "label" : "Controlnet" ,
5959 "type" : "custom_controlnet" ,
6060 "display" : "input" ,
183183 "type" : "diffusers_auto_model" ,
184184 "display" : "input" ,
185185 },
186+ "controlnet_bundle" : {
187+ "label" : "Controlnet" ,
188+ "type" : "custom_controlnet" ,
189+ "display" : "input" ,
190+ },
186191}
187192
188193# Mellon Output Parameters (display = "output")
212217 "display" : "output" ,
213218 "type" : "latent" ,
214219 },
215- "controlnet_out " : {
220+ "controlnet_bundle " : {
216221 "label" : "Controlnet" ,
217222 "display" : "output" ,
218- "type" : "controlnet " ,
223+ "type" : "custom_controlnet " ,
219224 },
220225 "doc" : {
221226 "label" : "Doc" ,
227232
228233# Default param selections per supported node_type
229234# from MELLON_INPUT_PARAMS / MELLON_MODEL_PARAMS / MELLON_OUTPUT_PARAMS.
235+ # YiYi notes: not used for now
230236NODE_TYPE_PARAMS_MAP = {
231237 "controlnet" : {
232238 "inputs" : [
242248 "vae" ,
243249 ],
244250 "outputs" : [
245- "controlnet " ,
251+ "controlnet_bundle " ,
246252 ],
247253 "block_name" : "controlnet_vae_encoder" ,
248254 },
257263 "image_latents" ,
258264 "strength" ,
259265 # custom adapters coming in as inputs
260- "controlnet " ,
266+ "controlnet_bundle " ,
261267 # ip_adapter is optional and custom; include if available
262268 "ip_adapter" ,
263269 ],
264270 "model_inputs" : [
265271 "unet" ,
266272 "guider" ,
267273 "scheduler" ,
274+ "controlnet_bundle" ,
268275 ],
269276 "outputs" : [
270277 "latents" ,
You can’t perform that action at this time.
0 commit comments