Update nodes.py

This commit is contained in:
kijai 2023-12-12 16:06:04 +02:00
parent a6bfefa36b
commit 7602d1e134

View File

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