Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
521421f5
Commit
521421f5
authored
Jun 30, 2024
by
comfyanonymous
Browse files
Fix workflow not importing from flac files on some systems.
parent
dbb7dd3b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/scripts/app.js
web/scripts/app.js
+1
-1
No files found.
web/scripts/app.js
View file @
521421f5
...
@@ -2292,7 +2292,7 @@ export class ComfyApp {
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment