mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2025-12-09 22:14:34 +08:00
Fix EmptyAudio node input types
This commit is contained in:
parent
bed12674a1
commit
1196934ab7
@ -573,12 +573,14 @@ class EmptyAudio(IO.ComfyNode):
|
|||||||
step=0.01,
|
step=0.01,
|
||||||
tooltip="Duration of the empty audio clip in seconds",
|
tooltip="Duration of the empty audio clip in seconds",
|
||||||
),
|
),
|
||||||
IO.Float.Input(
|
IO.Int.Input(
|
||||||
"sample_rate",
|
"sample_rate",
|
||||||
default=44100,
|
default=44100,
|
||||||
tooltip="Sample rate of the empty audio clip.",
|
tooltip="Sample rate of the empty audio clip.",
|
||||||
|
min=1,
|
||||||
|
max=192000,
|
||||||
),
|
),
|
||||||
IO.Float.Input(
|
IO.Int.Input(
|
||||||
"channels",
|
"channels",
|
||||||
default=2,
|
default=2,
|
||||||
min=1,
|
min=1,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user