diff --git a/BatchFuncs.py b/BatchFuncs.py index d455425..c3eea3f 100644 --- a/BatchFuncs.py +++ b/BatchFuncs.py @@ -150,10 +150,10 @@ def interpolate_prompt_series(animation_prompts, max_frames, start_frame, pre_te index_offset = 0 # Evaluate the current and next prompt's expressions for i in range(start_frame, len(cur_prompt_series)): - cur_prompt_series[i] = prepare_batch_prompt(cur_prompt_series[i], max_frames, i, float(prompt_weight_1[0]), - prompt_weight_2[i], prompt_weight_3[i], prompt_weight_4[i]) - nxt_prompt_series[i] = prepare_batch_prompt(nxt_prompt_series[i], max_frames, i, prompt_weight_1[i], - prompt_weight_2[i], prompt_weight_3[i], prompt_weight_4[i]) + cur_prompt_series[i] = prepare_batch_prompt(cur_prompt_series[i], max_frames, i, prompt_weight_1, + prompt_weight_2, prompt_weight_3, prompt_weight_4) + nxt_prompt_series[i] = prepare_batch_prompt(nxt_prompt_series[i], max_frames, i, prompt_weight_1, + prompt_weight_2, prompt_weight_3, prompt_weight_4) if Is_print == True: # Show the to/from prompts with evaluated expressions for transparency. print("\n", "Max Frames: ", max_frames, "\n", "frame index: ", (start_frame + i), "\n", "Current Prompt: ",