Update default workflows

This commit is contained in:
space-nuko
2023-05-25 13:47:15 -05:00
parent ebe798cbf1
commit 44396e3f0e
4 changed files with 1045 additions and 640 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
"comfyBoxWorkflow": true, "comfyBoxWorkflow": true,
"createdBy": "ComfyBox", "createdBy": "ComfyBox",
"version": 1, "version": 1,
"commitHash": "test", "commitHash": "574d3170a4e829df366dc12c3aaa049121052d8f\n",
"workflow": { "workflow": {
"last_node_id": 0, "last_node_id": 0,
"last_link_id": 0, "last_link_id": 0,
@@ -176,7 +176,7 @@
"widgets_values": [], "widgets_values": [],
"color": "#223", "color": "#223",
"bgColor": "#335", "bgColor": "#335",
"comfyValue": "A", "comfyValue": null,
"shownOutputProperties": {}, "shownOutputProperties": {},
"saveUserState": false "saveUserState": false
}, },
@@ -391,7 +391,20 @@
"title": "UI.Gallery", "title": "UI.Gallery",
"properties": { "properties": {
"tags": [], "tags": [],
"defaultValue": null, "defaultValue": [
{
"isComfyBoxImageMetadata": true,
"comfyUIFile": {
"filename": "ComfyUI_04712_.png",
"subfolder": "",
"type": "output"
},
"name": "File",
"tags": [],
"width": 6656,
"height": 4096
}
],
"index": 0, "index": 0,
"updateMode": "replace", "updateMode": "replace",
"autoSelectOnUpdate": true "autoSelectOnUpdate": true
@@ -399,7 +412,20 @@
"widgets_values": [], "widgets_values": [],
"color": "#223", "color": "#223",
"bgColor": "#335", "bgColor": "#335",
"comfyValue": [], "comfyValue": [
{
"isComfyBoxImageMetadata": true,
"comfyUIFile": {
"filename": "ComfyUI_04712_.png",
"subfolder": "",
"type": "output"
},
"name": "File",
"tags": [],
"width": 6656,
"height": 4096
}
],
"shownOutputProperties": {}, "shownOutputProperties": {},
"saveUserState": false "saveUserState": false
}, },
@@ -502,13 +528,39 @@
], ],
"title": "UI.ImageUpload", "title": "UI.ImageUpload",
"properties": { "properties": {
"defaultValue": null, "defaultValue": [
{
"isComfyBoxImageMetadata": true,
"comfyUIFile": {
"filename": "ComfyUI_05835_.png",
"type": "output",
"subfolder": ""
},
"name": "File",
"tags": [],
"width": 640,
"height": 768
}
],
"tags": [] "tags": []
}, },
"widgets_values": [], "widgets_values": [],
"color": "#223", "color": "#223",
"bgColor": "#335", "bgColor": "#335",
"comfyValue": [], "comfyValue": [
{
"isComfyBoxImageMetadata": true,
"comfyUIFile": {
"filename": "ComfyUI_05835_.png",
"type": "output",
"subfolder": ""
},
"name": "File",
"tags": [],
"width": 640,
"height": 768
}
],
"shownOutputProperties": {}, "shownOutputProperties": {},
"saveUserState": false "saveUserState": false
}, },
@@ -654,7 +706,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [ "children": [
@@ -679,7 +732,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [ "children": [
@@ -705,7 +759,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [ "children": [
@@ -732,7 +787,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [], "children": [],
@@ -744,7 +800,7 @@
"id": "2f0371e8-559e-4a58-a5d1-0a50117675fc", "id": "2f0371e8-559e-4a58-a5d1-0a50117675fc",
"nodeId": "578edfae-2767-4b23-9a3b-6edd8ccad1dd", "nodeId": "578edfae-2767-4b23-9a3b-6edd8ccad1dd",
"attrs": { "attrs": {
"title": "model_name", "title": "Modal Name",
"hidden": false, "hidden": false,
"disabled": false, "disabled": false,
"direction": "vertical", "direction": "vertical",
@@ -756,7 +812,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [], "children": [],
@@ -779,7 +836,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [ "children": [
@@ -793,7 +851,7 @@
"id": "db12215f-fd9c-463f-9fbd-26b79e994e0e", "id": "db12215f-fd9c-463f-9fbd-26b79e994e0e",
"nodeId": "59feacdf-de02-4b1e-b8ba-e219ba5126b7", "nodeId": "59feacdf-de02-4b1e-b8ba-e219ba5126b7",
"attrs": { "attrs": {
"title": "filename_prefix", "title": "Filename Prefix",
"hidden": false, "hidden": false,
"disabled": false, "disabled": false,
"direction": "vertical", "direction": "vertical",
@@ -805,7 +863,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [], "children": [],
@@ -828,7 +887,8 @@
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [ "children": [
@@ -849,12 +909,13 @@
"classes": "", "classes": "",
"style": "", "style": "",
"nodeDisabledState": "hidden", "nodeDisabledState": "hidden",
"variant": "gallery", "variant": "image",
"containerVariant": "hidden", "containerVariant": "hidden",
"openOnStartup": false, "openOnStartup": false,
"buttonVariant": "primary", "buttonVariant": "primary",
"buttonSize": "large", "buttonSize": "large",
"tags": [] "tags": [],
"destroyChildOnCLose": false
} }
}, },
"children": [], "children": [],

View File

@@ -228,7 +228,7 @@ export default class ComfyApp {
setActive: false setActive: false
} }
await this.initDefaultWorkflow("defaultWorkflow", options); await this.initDefaultWorkflow("defaultWorkflow", options);
await this.initDefaultWorkflow("upscale", options); await this.initDefaultWorkflow("upscaleByModel", options);
await this.initDefaultWorkflow("conditioningRegions", options); await this.initDefaultWorkflow("conditioningRegions", options);
} }