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 {
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue