diff --git a/scripts/deforum_helpers/deforum_animatediff.py b/scripts/deforum_helpers/deforum_animatediff.py index 801fbfd4d..0a293da1b 100644 --- a/scripts/deforum_helpers/deforum_animatediff.py +++ b/scripts/deforum_helpers/deforum_animatediff.py @@ -124,7 +124,7 @@ def create_model_in_tab_ui(cn_id): refresh_models.click(refresh_all_models, model, model) with gr.Row(visible=False) as activation_row: gr.Markdown('**Important!** This schedule sets up when AnimateDiff should run on the generated N previous frames. At the moment this is made with binary values: when the expression value is 0, it will make a pass, otherwise normal Deforum frames will be made') - activation_schedule = gr.Textbox(label="AnimateDiff activation schedule", lines=1, value='0:("t % 16")', interactive=True) + activation_schedule = gr.Textbox(label="AnimateDiff activation schedule", lines=1, value='0:("(abs(t-1)) % 16")', interactive=True) gr.Markdown('Internal AnimateDiff settings, see its script in normal tabs') with gr.Row(visible=False) as motion_lora_row: motion_lora_schedule = gr.Textbox(label="Motion lora schedule", lines=1, value='0:("")', interactive=True)