From 6e0fe7b0085f8019de3694740a1969bdd8fdf475 Mon Sep 17 00:00:00 2001 From: Manuel Schmid Date: Sun, 26 Nov 2023 00:35:23 +0100 Subject: [PATCH] make disable_intermediate_results not interactive when selecting Extreme Performance correctly reflects current behaviour to not clog gradio --- webui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui.py b/webui.py index 60d13ac5..b7b012d3 100644 --- a/webui.py +++ b/webui.py @@ -474,12 +474,12 @@ with shared.gradio_root: play_notification.change(fn=play_notification_checked, inputs=[play_notification, notification], outputs=[notification_input], queue=False) notification_input.change(fn=notification_input_changed, inputs=[notification_input, notification], outputs=[notification], queue=False) - performance_selection.change(lambda x: [gr.update(interactive=x != 'Extreme Speed')] * 11, + performance_selection.change(lambda x: [gr.update(interactive=x != 'Extreme Speed')] * 12, inputs=performance_selection, outputs=[ guidance_scale, sharpness, adm_scaler_end, adm_scaler_positive, adm_scaler_negative, refiner_switch, refiner_model, sampler_name, - scheduler_name, adaptive_cfg, refiner_swap_method + scheduler_name, adaptive_cfg, refiner_swap_method, disable_intermediate_results ], queue=False, show_progress=False) advanced_checkbox.change(lambda x: gr.update(visible=x), advanced_checkbox, advanced_column,