1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Fix workflow not importing from flac files on some systems.

This commit is contained in:
comfyanonymous
2024-06-30 15:51:54 -04:00
parent dbb7dd3b5e
commit 521421f53e

View File

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