Add option to disable thumbnail display (#36)
This commit is contained in:
@@ -453,12 +453,8 @@ def on_ui_settings():
|
||||
False, "Disable photopea edit", gr.Checkbox, {"interactive": True}, section=section))
|
||||
shared.opts.add_option("controlnet_photopea_warning", shared.OptionInfo(
|
||||
True, "Photopea popup warning", gr.Checkbox, {"interactive": True}, section=section))
|
||||
shared.opts.add_option("controlnet_ignore_noninpaint_mask", shared.OptionInfo(
|
||||
False, "Ignore mask on ControlNet input image if control type is not inpaint",
|
||||
gr.Checkbox, {"interactive": True}, section=section))
|
||||
shared.opts.add_option("controlnet_clip_detector_on_cpu", shared.OptionInfo(
|
||||
False, "Load CLIP preprocessor model on CPU",
|
||||
gr.Checkbox, {"interactive": True}, section=section))
|
||||
shared.opts.add_option("controlnet_input_thumbnail", shared.OptionInfo(
|
||||
True, "Input image thumbnail on unit header", gr.Checkbox, {"interactive": True}, section=section))
|
||||
|
||||
|
||||
script_callbacks.on_ui_settings(on_ui_settings)
|
||||
|
||||
Reference in New Issue
Block a user