mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-03-12 22:02:14 +00:00
Fix workflow not importing from flac files on some systems.
This commit is contained in:
parent
dbb7dd3b5e
commit
521421f53e
@ -2292,7 +2292,7 @@ export class ComfyApp {
|
|||||||
} else {
|
} else {
|
||||||
this.showErrorOnFileLoad(file);
|
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);
|
const pngInfo = await getFlacMetadata(file);
|
||||||
// Support loading workflows from that webp custom node.
|
// Support loading workflows from that webp custom node.
|
||||||
const workflow = pngInfo?.workflow;
|
const workflow = pngInfo?.workflow;
|
||||||
|
Loading…
Reference in New Issue
Block a user