mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-23 16:24:06 +00:00
Fix workflow not importing from flac files on some systems. (#71)
This commit is contained in:
@@ -2312,7 +2312,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);
|
||||
const workflow = pngInfo?.workflow || pngInfo?.Workflow;
|
||||
const prompt = pngInfo?.prompt || pngInfo?.Prompt;
|
||||
|
||||
Reference in New Issue
Block a user