Skip to content

Commit

Permalink
Merge pull request #20 from Stability-AI/stablewaheed
Browse files Browse the repository at this point in the history
Forcing white inpaint brush
  • Loading branch information
sanwal-stability authored Feb 8, 2025
2 parents 7aeaee7 + b4fe28a commit 03aecf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sd35-inpainting-gradio/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 03aecf4

Please sign in to comment.