Fix EmptyAudio node input types (#11149)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user