Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusNyne committed Sep 17, 2024
2 parents f8195da + 9be6371 commit 4192fb4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion aaaaaa/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,4 +712,8 @@ def controlnet(w: Widgets, n: int, is_img2img: bool):
)

with gr.Column(variant="compact"):
w.ad_solo_generation = gr.Checkbox(label="Solo generation" + suffix(n), value=False, elem_id=eid("ad_solo_generation"))
w.ad_solo_generation = gr.Checkbox(
label="Solo generation" + suffix(n),
value=False,
elem_id=eid("ad_solo_generation"),
)
5 changes: 4 additions & 1 deletion scripts/!adetailer.py
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,10 @@ def postprocess_image(self, p, pp: PPImage, *args_):
if is_processed:
if not is_skip_img2img(p):
self.save_image(
p, init_image, condition="ad_save_images_before", suffix="-ad-before"
p,
init_image,
condition="ad_save_images_before",
suffix="-ad-before",
)

for save in filter(None, save_incrementals):
Expand Down

0 comments on commit 4192fb4

Please sign in to comment.