Fix issue loading webp files in UI.

This commit is contained in:
comfyanonymous 2023-11-24 02:08:08 -05:00
parent c782cf3ea9
commit 982338b9bb
1 changed files with 1 additions and 1 deletions

View File

@ -599,7 +599,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,image/webp",
style: {display: "none"},
parent: document.body,
onchange: () => {