diff --git a/web/js/betterCombos.js b/web/js/betterCombos.js index 86468ae..346b7aa 100644 --- a/web/js/betterCombos.js +++ b/web/js/betterCombos.js @@ -3,12 +3,16 @@ import { ComfyWidgets } from "../../../scripts/widgets.js"; import { $el } from "../../../scripts/ui.js"; import { api } from "../../../scripts/api.js"; +const CHECKPOINT_LOADER = "CheckpointLoader|pysssss"; +const LORA_LOADER = "LoraLoader|pysssss"; const LOAD_LATENT_WITH_PARAMS = "LoadLatent_WithParams"; const LOAD_LATENT_I2V_MXD = "LoadLatent_I2V_MXD"; const IMAGE_WIDTH = 384; const IMAGE_HEIGHT = 384; const NODE_CONFIGS = { + [CHECKPOINT_LOADER]: { type: "checkpoints", widgetName: "ckpt_name", hasImages: true }, + [LORA_LOADER]: { type: "loras", widgetName: "lora_name", hasImages: true }, [LOAD_LATENT_WITH_PARAMS]: { type: "latents", widgetName: "latent", hasImages: false }, [LOAD_LATENT_I2V_MXD]: { type: "latents", widgetName: "latent", hasImages: false }, };