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
f836e693
"tests/pipelines/vscode:/vscode.git/clone" did not exist on "98c1a8e793b3f78f40c612d31a8501cc67b56259"
Commit
f836e693
authored
Jul 21, 2024
by
comfyanonymous
Browse files
Fix bug with SaveAudio node with --gpu-only
parent
5b69cfe7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
comfy_extras/nodes_audio.py
comfy_extras/nodes_audio.py
+1
-1
No files found.
comfy_extras/nodes_audio.py
View file @
f836e693
...
@@ -147,7 +147,7 @@ class SaveAudio:
...
@@ -147,7 +147,7 @@ class SaveAudio:
for
x
in
extra_pnginfo
:
for
x
in
extra_pnginfo
:
metadata
[
x
]
=
json
.
dumps
(
extra_pnginfo
[
x
])
metadata
[
x
]
=
json
.
dumps
(
extra_pnginfo
[
x
])
for
(
batch_number
,
waveform
)
in
enumerate
(
audio
[
"waveform"
]):
for
(
batch_number
,
waveform
)
in
enumerate
(
audio
[
"waveform"
]
.
cpu
()
):
filename_with_batch_num
=
filename
.
replace
(
"%batch_num%"
,
str
(
batch_number
))
filename_with_batch_num
=
filename
.
replace
(
"%batch_num%"
,
str
(
batch_number
))
file
=
f
"
{
filename_with_batch_num
}
_
{
counter
:
05
}
_.flac"
file
=
f
"
{
filename_with_batch_num
}
_
{
counter
:
05
}
_.flac"
...
...
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