diff --git a/scripts/dynamic_thresholding.py b/scripts/dynamic_thresholding.py index 082fe46..60a96b2 100644 --- a/scripts/dynamic_thresholding.py +++ b/scripts/dynamic_thresholding.py @@ -48,7 +48,7 @@ class Script(scripts.Script): dfalse = gr.Checkbox(value=False, visible=False) with gr.Accordion("Dynamic Thresholding (CFG Scale Fix)", open=False, elem_id="dynthres_" + ("img2img" if is_img2img else "txt2img")): with gr.Row(): - enabled = gr.Checkbox(value=False, label="Enable Dynamic Thresholding (CFG Scale Fix)", elem_classes=["dynthres-enabled"]) + enabled = gr.Checkbox(value=False, label="Enable Dynamic Thresholding (CFG Scale Fix)", elem_classes=["dynthres-enabled"], elem_id='dynthres_enabled') with gr.Group(visible=False) as accordion: gr.HTML(value=f"View the wiki for usage tips.

", elem_id='dynthres_wiki_link') mimic_scale = gr.Slider(minimum=1.0, maximum=30.0, step=0.5, label='Mimic CFG Scale', value=7.0, elem_id='dynthres_mimic_scale')