uncommented tuple conversion of int/floats

This commit is contained in:
FizzleDorf
2024-02-10 21:00:00 +09:00
parent 55330c096f
commit 2ad19c1c3a
+8 -8
View File
@@ -102,17 +102,17 @@ def interpolate_prompt_series(animation_prompts, max_frames, start_frame, pre_te
current_key = 0
next_key = 0
#f type(prompt_weight_1) in {int, float}:
# prompt_weight_1 = tuple([prompt_weight_1] * max_frames)
if type(prompt_weight_1) in {int, float}:
prompt_weight_1 = tuple([prompt_weight_1] * max_frames)
#f type(prompt_weight_2) in {int, float}:
# prompt_weight_2 = tuple([prompt_weight_2] * max_frames)
if type(prompt_weight_2) in {int, float}:
prompt_weight_2 = tuple([prompt_weight_2] * max_frames)
#f type(prompt_weight_3) in {int, float}:
# prompt_weight_3 = tuple([prompt_weight_3] * max_frames)
if type(prompt_weight_3) in {int, float}:
prompt_weight_3 = tuple([prompt_weight_3] * max_frames)
#f type(prompt_weight_4) in {int, float}:
# prompt_weight_4 = tuple([prompt_weight_4] * max_frames)
if type(prompt_weight_4) in {int, float}:
prompt_weight_4 = tuple([prompt_weight_4] * max_frames)
# For every keyframe prompt except the last
for i in range(0, len(sorted_prompts) - 1):