Commit 60b4c31a authored by comfyanonymous's avatar comfyanonymous
Browse files

Add webp images to upload accept list.

parent f84f2508
...@@ -306,7 +306,7 @@ export const ComfyWidgets = { ...@@ -306,7 +306,7 @@ export const ComfyWidgets = {
const fileInput = document.createElement("input"); const fileInput = document.createElement("input");
Object.assign(fileInput, { Object.assign(fileInput, {
type: "file", type: "file",
accept: "image/jpeg,image/png", accept: "image/jpeg,image/png,image/webp",
style: "display: none", style: "display: none",
onchange: async () => { onchange: async () => {
if (fileInput.files.length) { if (fileInput.files.length) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment