This commit is contained in:
peteromallet
2024-02-16 21:58:14 +01:00
parent 5579e78cd3
commit 8bd1ed3bc1
+5 -1
View File
@@ -382,7 +382,7 @@ class BatchCreativeInterpolationNode:
elif i == len(keyframe_positions) - 1:
image = images[i-2]
strength_from = strength_to = strength_values[i-1][1]
strength_from = strength_to = strength_values[i-2][1]
batch_index_from = keyframe_positions[i-1]
batch_index_to_excl = last_key_frame_position
weights, frame_numbers = calculate_weights(batch_index_from, batch_index_to_excl, strength_from, strength_to, interpolation, False, last_key_frame_position, i, len(keyframe_positions), buffer)
@@ -452,6 +452,10 @@ class BatchCreativeInterpolationNode:
return comparison_diagram, positive, negative, model, sparse_indexes, last_key_frame_position
class ArmyOfLoRAs:
# NODE MAPPING
NODE_CLASS_MAPPINGS = {
"BatchCreativeInterpolation": BatchCreativeInterpolationNode