francescoKrnl commited on
Commit
b287c2e
1 Parent(s): 6921d15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,7 +177,7 @@ with gr.Blocks(css="style.css") as demo:
177
  with gr.Column(elem_id="main_block"):
178
  with gr.Row(elem_id="board_row"):
179
  with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
180
- image = gr.Sketchpad(type="pil", image_mode="L",container=False, height="100%", width="100%", value = empty_input_image,
181
  # invert_colors=True, shape=(512, 512), brush_radius=4,
182
  interactive=True, show_download_button=True, elem_id="input_image", show_label=False)
183
  gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
 
177
  with gr.Column(elem_id="main_block"):
178
  with gr.Row(elem_id="board_row"):
179
  with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
180
+ image = gr.Sketchpad(type="pil", image_mode="L",container=False, height="100%", width="100%", value = empty_input_image, brush = gr.Brush(default_size="4"),
181
  # invert_colors=True, shape=(512, 512), brush_radius=4,
182
  interactive=True, show_download_button=True, elem_id="input_image", show_label=False)
183
  gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")