aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-04 15:51:15 +0000
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-04 15:51:25 +0000
commit682ff8936df018330e0d2a259794a262dc3251b2 (patch)
tree7cdfad7e74cfe979f6504c2c9691ec6f1c30c5a0 /modules/ui.py
parentf08a69e6295bd821bed11ad2bea2d29ee97ef4bc (diff)
downloadstable-diffusion-webui-gfx803-682ff8936df018330e0d2a259794a262dc3251b2.tar.gz
stable-diffusion-webui-gfx803-682ff8936df018330e0d2a259794a262dc3251b2.tar.bz2
stable-diffusion-webui-gfx803-682ff8936df018330e0d2a259794a262dc3251b2.zip
glorious, glorious wonderful clear milky white butter smooth color for inpainting
you are the best, gradio how I yearned for this day i always believed in you i knew you had it in you this day marks a new beginning thank you, everyone thank you
Diffstat (limited to 'modules/ui.py')
-rw-r--r--modules/ui.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 586174b8..6cf3dff8 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -667,11 +667,11 @@ def create_ui():
add_copy_image_controls('sketch', sketch)
with gr.TabItem('Inpaint', id='inpaint', elem_id="img2img_inpaint_tab") as tab_inpaint:
- init_img_with_mask = gr.Image(label="Image for inpainting with mask", show_label=False, elem_id="img2maskimg", source="upload", interactive=True, type="pil", tool="sketch", image_mode="RGBA", height=opts.img2img_editor_height)
+ init_img_with_mask = gr.Image(label="Image for inpainting with mask", show_label=False, elem_id="img2maskimg", source="upload", interactive=True, type="pil", tool="sketch", image_mode="RGBA", height=opts.img2img_editor_height, brush_color='#ffffff')
add_copy_image_controls('inpaint', init_img_with_mask)
with gr.TabItem('Inpaint sketch', id='inpaint_sketch', elem_id="img2img_inpaint_sketch_tab") as tab_inpaint_color:
- inpaint_color_sketch = gr.Image(label="Color sketch inpainting", show_label=False, elem_id="inpaint_sketch", source="upload", interactive=True, type="pil", tool="color-sketch", image_mode="RGBA", height=opts.img2img_editor_height)
+ inpaint_color_sketch = gr.Image(label="Color sketch inpainting", show_label=False, elem_id="inpaint_sketch", source="upload", interactive=True, type="pil", tool="color-sketch", image_mode="RGBA", height=opts.img2img_editor_height, brush_color='#ffffff')
inpaint_color_sketch_orig = gr.State(None)
add_copy_image_controls('inpaint_sketch', inpaint_color_sketch)