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 workflow not importing from flac files on some systems.

comfyanonymous521421f53ee1
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;