Add control items

pull/155/head
aiton-sd 2023-02-18 00:22:15 +09:00 committed by GitHub
parent ca279df486
commit c027c163a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -353,6 +353,9 @@ class Script(scripts.Script):
resize_mode = getattr(p, 'control_net_resize_mode', resize_mode)
rgbbgr_mode = getattr(p, 'control_net_rgbbgr_mode', rgbbgr_mode)
lowvram = getattr(p, 'control_net_lowvram', lowvram)
pres = getattr(p, 'control_net_pres', pres)
pthr_a = getattr(p, 'control_net_pthr_a', pthr_a)
pthr_b = getattr(p, 'control_net_pthr_b', pthr_b)
input_image = getattr(p, 'control_net_input_image', None)
else: