From 37991008110a0b763c3fcb8dbab7f293169c6705 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Mon, 1 Jul 2024 09:59:44 -0400 Subject: [PATCH] Fix workflow not importing from flac files on some systems. (#71) --- src/scripts/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/app.ts b/src/scripts/app.ts index a2cad8da2..1399bb023 100644 --- a/src/scripts/app.ts +++ b/src/scripts/app.ts @@ -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;