From b4fe28a5a64b007d7e94202070e4754562734210 Mon Sep 17 00:00:00 2001 From: stablewaheed Date: Sat, 8 Feb 2025 00:17:56 +0000 Subject: [PATCH] Forcing white inpaint brush --- sd35-inpainting-gradio/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd35-inpainting-gradio/app.py b/sd35-inpainting-gradio/app.py index 33357e4..7125fde 100644 --- a/sd35-inpainting-gradio/app.py +++ b/sd35-inpainting-gradio/app.py @@ -65,7 +65,7 @@ def _predict(self, mask, prompt, progress=gr.Progress(track_tqdm=True)): return images[0] def _start_gradio(self): - white_brush = gr.Brush(colors=['#FFFFFF'], color_mode='fixed') + white_brush = gr.Brush(default_color='#FFFFFF', colors=['#FFFFFF'], color_mode='fixed') gr.Interface( self._predict,