Spaces:
Runtime error
Runtime error
Update webui.py
Browse files
webui.py
CHANGED
@@ -446,15 +446,15 @@ with shared.gradio_root:
|
|
446 |
queue=False, show_progress=False)
|
447 |
|
448 |
with gr.Tab(label='Control'):
|
449 |
-
debugging_cn_preprocessor = gr.Checkbox(label='Debug Preprocessors', value=
|
450 |
info='See the results from preprocessors.')
|
451 |
-
skipping_cn_preprocessor = gr.Checkbox(label='Skip Preprocessors', value=
|
452 |
info='Do not preprocess images. (Inputs are already canny/depth/cropped-face/etc.)')
|
453 |
|
454 |
mixing_image_prompt_and_vary_upscale = gr.Checkbox(label='Mixing Image Prompt and Vary/Upscale',
|
455 |
-
value=
|
456 |
mixing_image_prompt_and_inpaint = gr.Checkbox(label='Mixing Image Prompt and Inpaint',
|
457 |
-
value=
|
458 |
|
459 |
controlnet_softness = gr.Slider(label='Softness of ControlNet', minimum=0.0, maximum=1.0,
|
460 |
step=0.001, value=0.25,
|
@@ -467,7 +467,7 @@ with shared.gradio_root:
|
|
467 |
step=1, value=128)
|
468 |
|
469 |
with gr.Tab(label='Inpaint'):
|
470 |
-
debugging_inpaint_preprocessor = gr.Checkbox(label='Debug Inpaint Preprocessing', value=
|
471 |
inpaint_disable_initial_latent = gr.Checkbox(label='Disable initial latent in inpaint', value=False)
|
472 |
inpaint_engine = gr.Dropdown(label='Inpaint Engine',
|
473 |
value=modules.config.default_inpaint_engine_version,
|
@@ -490,7 +490,7 @@ with shared.gradio_root:
|
|
490 |
info='Positive value will make white area in the mask larger, '
|
491 |
'negative value will make white area smaller.'
|
492 |
'(default is 0, always process before any mask invert)')
|
493 |
-
inpaint_mask_upload_checkbox = gr.Checkbox(label='Enable Mask Upload', value=
|
494 |
invert_mask_checkbox = gr.Checkbox(label='Invert Mask', value=False)
|
495 |
|
496 |
inpaint_ctrls = [debugging_inpaint_preprocessor, inpaint_disable_initial_latent, inpaint_engine,
|
|
|
446 |
queue=False, show_progress=False)
|
447 |
|
448 |
with gr.Tab(label='Control'):
|
449 |
+
debugging_cn_preprocessor = gr.Checkbox(label='Debug Preprocessors', value=True,
|
450 |
info='See the results from preprocessors.')
|
451 |
+
skipping_cn_preprocessor = gr.Checkbox(label='Skip Preprocessors', value=True,
|
452 |
info='Do not preprocess images. (Inputs are already canny/depth/cropped-face/etc.)')
|
453 |
|
454 |
mixing_image_prompt_and_vary_upscale = gr.Checkbox(label='Mixing Image Prompt and Vary/Upscale',
|
455 |
+
value=True)
|
456 |
mixing_image_prompt_and_inpaint = gr.Checkbox(label='Mixing Image Prompt and Inpaint',
|
457 |
+
value=True)
|
458 |
|
459 |
controlnet_softness = gr.Slider(label='Softness of ControlNet', minimum=0.0, maximum=1.0,
|
460 |
step=0.001, value=0.25,
|
|
|
467 |
step=1, value=128)
|
468 |
|
469 |
with gr.Tab(label='Inpaint'):
|
470 |
+
debugging_inpaint_preprocessor = gr.Checkbox(label='Debug Inpaint Preprocessing', value=True)
|
471 |
inpaint_disable_initial_latent = gr.Checkbox(label='Disable initial latent in inpaint', value=False)
|
472 |
inpaint_engine = gr.Dropdown(label='Inpaint Engine',
|
473 |
value=modules.config.default_inpaint_engine_version,
|
|
|
490 |
info='Positive value will make white area in the mask larger, '
|
491 |
'negative value will make white area smaller.'
|
492 |
'(default is 0, always process before any mask invert)')
|
493 |
+
inpaint_mask_upload_checkbox = gr.Checkbox(label='Enable Mask Upload', value=True)
|
494 |
invert_mask_checkbox = gr.Checkbox(label='Invert Mask', value=False)
|
495 |
|
496 |
inpaint_ctrls = [debugging_inpaint_preprocessor, inpaint_disable_initial_latent, inpaint_engine,
|