Fix EmptyAudio node input types (#11149)

This commit is contained in:
Jukka Seppänen
2025-12-06 20:09:44 +02:00
committed by GitHub
parent 76f18e955d
commit 7ac7d69d94

View File

@@ -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,