From 86ea397a1a42fcf29cad04455d16a4e6c4480efe Mon Sep 17 00:00:00 2001 From: wclssdn Date: Sun, 27 Aug 2023 01:30:32 +0800 Subject: [PATCH] add .svg support for Load by default Even though we can select svg file, but we can not see it via default options. --- web/scripts/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 86e2a1c41..b3fb0e012 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -578,7 +578,7 @@ export class ComfyUI { const fileInput = $el("input", { id: "comfy-file-input", type: "file", - accept: ".json,image/png,.latent,.safetensors", + accept: ".json,image/png,.latent,.safetensors,.svg", style: {display: "none"}, parent: document.body, onchange: () => {