mirror of
https://git.datalinker.icu/kijai/ComfyUI-KJNodes.git
synced 2025-12-20 02:04:35 +08:00
Update nodes.py
This commit is contained in:
parent
a6bfefa36b
commit
7602d1e134
6
nodes.py
6
nodes.py
@ -2690,12 +2690,8 @@ class SoundReactive:
|
|||||||
sound_level /= 255
|
sound_level /= 255
|
||||||
|
|
||||||
sound_level_int = int(sound_level)
|
sound_level_int = int(sound_level)
|
||||||
<<<<<<< HEAD
|
|
||||||
return (sound_level, sound_level_int, )
|
return (sound_level, sound_level_int, )
|
||||||
|
|
||||||
=======
|
|
||||||
|
|
||||||
return (average_level, low_level, mid_level, high_level, average_level_int, low_level_int, mid_level_int, high_level_int)
|
|
||||||
|
|
||||||
class GenerateNoise:
|
class GenerateNoise:
|
||||||
@classmethod
|
@classmethod
|
||||||
@ -2736,7 +2732,7 @@ class GenerateNoise:
|
|||||||
if constant_batch_noise:
|
if constant_batch_noise:
|
||||||
noise = noise[0].repeat(batch_size, 1, 1, 1)
|
noise = noise[0].repeat(batch_size, 1, 1, 1)
|
||||||
return ({"samples":noise}, )
|
return ({"samples":noise}, )
|
||||||
>>>>>>> a66ddc8b04817e551349714d594b0be20a76c878
|
|
||||||
|
|
||||||
NODE_CLASS_MAPPINGS = {
|
NODE_CLASS_MAPPINGS = {
|
||||||
"INTConstant": INTConstant,
|
"INTConstant": INTConstant,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user