add .svg support for Load by default

Even though we can select svg file, but we can not see it via default options.
This commit is contained in:
wclssdn 2023-08-27 01:30:32 +08:00 committed by GitHub
parent a57b0c797b
commit 86ea397a1a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: () => {