commit for

This commit is contained in:
2024-08-03 12:27:31 +03:00
parent ed936806f1
commit 727693318c
299 changed files with 355914 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { app } from "../../scripts/app.js";
// Adds an upload button to the nodes
app.registerExtension({
name: "Comfy.UploadImage",
async beforeRegisterNodeDef(nodeType, nodeData, app) {
if (nodeData?.input?.required?.image?.[1]?.image_upload === true) {
nodeData.input.required.upload = ["IMAGEUPLOAD"];
}
},
});