Skip to content

Commit

Permalink
Revert "Update external_code.py fix 2132 2111 (#2133)" (#2202)
Browse files Browse the repository at this point in the history
This reverts commit e382d16.
  • Loading branch information
huchenlei authored Oct 28, 2023
1 parent e382d16 commit 4ac716a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal_controlnet/external_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ def update_cn_script_in_processing(
"""

cn_units_type = type(cn_units) if type(cn_units) in (list, tuple) else list
script_args = p.script_args_value
script_args = list(p.script_args)
update_cn_script_in_place(p.scripts, script_args, cn_units)
p.script_args = cn_units_type(script_args)

Expand Down

0 comments on commit 4ac716a

Please sign in to comment.