mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-02-22 16:14:06 +00:00
Revert "fix: prevent chaning values during generation"
This reverts commit 2bd4db94d5.
This commit is contained in:
@@ -202,6 +202,11 @@ def one_ui_group(n: int, is_img2img: bool, webui_info: WebuiInfo):
|
||||
with gr.Group():
|
||||
controlnet(w, n, is_img2img)
|
||||
|
||||
for attr in ALL_ARGS.attrs:
|
||||
widget = getattr(w, attr)
|
||||
on_change = partial(on_widget_change, attr=attr)
|
||||
widget.change(fn=on_change, inputs=[state, widget], outputs=state, queue=False)
|
||||
|
||||
all_inputs = [state, *w.tolist()]
|
||||
target_button = webui_info.i2i_button if is_img2img else webui_info.t2i_button
|
||||
target_button.click(
|
||||
|
||||
Reference in New Issue
Block a user