Skip to content

Commit

Permalink
start from 1th frame in the ad schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
kabachuha committed Nov 13, 2023
1 parent f79b037 commit 18ea77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deforum_helpers/deforum_animatediff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 18ea77b

Please sign in to comment.