Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Fix issue loading webp files in UI.

comfyanonymous982338b9bb41
diff --git a/web/scripts/ui.js b/web/scripts/ui.js
index 6f01aa5b2..8a58d30b3 100644
--- a/web/scripts/ui.js
+++ b/web/scripts/ui.js
@@ -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: () => {