Commit 1455159c authored by CodeHatchling's avatar CodeHatchling
Browse files

Fixed issue with whitespace, removed commented out code that was meant to be used as a reference.

parent 976c1053
Loading
Loading
Loading
Loading
+6 −14
Original line number Diff line number Diff line
@@ -179,15 +179,7 @@ el_ids = SoftInpaintingSettings(
def gradio_ui():
    import gradio as gr
    from modules.ui_components import InputAccordion
    """
            with InputAccordion(False, label="Refiner", elem_id=self.elem_id("enable")) as enable_refiner:
            with gr.Row():
                refiner_checkpoint = gr.Dropdown(label='Checkpoint', elem_id=self.elem_id("checkpoint"), choices=sd_models.checkpoint_tiles(), value='', tooltip="switch to another model in the middle of generation")
                create_refresh_button(refiner_checkpoint, sd_models.list_models, lambda: {"choices": sd_models.checkpoint_tiles()}, self.elem_id("checkpoint_refresh"))

                refiner_switch_at = gr.Slider(value=0.8, label="Switch at", minimum=0.01, maximum=1.0, step=0.01, elem_id=self.elem_id("switch_at"), tooltip="fraction of sampling steps when the switch to refiner model should happen; 1=never, 0.5=switch in the middle of generation")

    """
    with InputAccordion(False, label=enabled_ui_label, elem_id=enabled_el_id) as soft_inpainting_enabled:
        with gr.Group():
            gr.Markdown(