Skip to content

Commit 7ac7d69

Browse files
authored
Fix EmptyAudio node input types (#11149)
1 parent 76f18e9 commit 7ac7d69

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

comfy_extras/nodes_audio.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -573,12 +573,14 @@ def define_schema(cls):
573573
step=0.01,
574574
tooltip="Duration of the empty audio clip in seconds",
575575
),
576-
IO.Float.Input(
576+
IO.Int.Input(
577577
"sample_rate",
578578
default=44100,
579579
tooltip="Sample rate of the empty audio clip.",
580+
min=1,
581+
max=192000,
580582
),
581-
IO.Float.Input(
583+
IO.Int.Input(
582584
"channels",
583585
default=2,
584586
min=1,

0 commit comments

Comments
 (0)