Skip to content

Commit

Permalink
Forcing white inpaint brush
Browse files Browse the repository at this point in the history
  • Loading branch information
stablewaheed committed Feb 8, 2025
1 parent c535d89 commit b4fe28a
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 b4fe28a

Please sign in to comment.