From 521421f53ee1ba74304dfaa138b0f851093e1595 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sun, 30 Jun 2024 15:51:54 -0400 Subject: [PATCH] Fix workflow not importing from flac files on some systems. --- web/scripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/scripts/app.js b/web/scripts/app.js index 3a91aa239..776fc197a 100644 --- a/web/scripts/app.js +++ b/web/scripts/app.js @@ -2292,7 +2292,7 @@ export class ComfyApp { } else { this.showErrorOnFileLoad(file); } - } else if (file.type === "audio/flac") { + } else if (file.type === "audio/flac" || file.type === "audio/x-flac") { const pngInfo = await getFlacMetadata(file); // Support loading workflows from that webp custom node. const workflow = pngInfo?.workflow;