Skip to content

Commit

Permalink
p.is_api = True when animatediff
Browse files Browse the repository at this point in the history
  • Loading branch information
kabachuha committed Nov 13, 2023
1 parent b7c0ce3 commit 6b60dba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/deforum_helpers/deforum_animatediff.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def seed_animatediff(p, prev_always_on_scripts, animatediff_args, args, anim_arg

animatediff_script = find_animatediff_script(prev_always_on_scripts)
# let's put it before ControlNet to cause less problems
p.is_api = True # to parse the params internally
p.scripts.alwayson_scripts = [animatediff_script] + p.scripts.alwayson_scripts

args_dict = {
Expand Down

0 comments on commit 6b60dba

Please sign in to comment.