Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
2d51a1c
1
Parent(s):
0f95c1f
Update app.py
Browse files
app.py
CHANGED
@@ -180,7 +180,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
180 |
with gr.Row(elem_id="board_row"):
|
181 |
with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
|
182 |
image = gr.Sketchpad(type="pil", image_mode="L",container=False, height="100%", width="100%", value = empty_input_image,
|
183 |
-
brush = gr.Brush(default_size="
|
184 |
# invert_colors=True, shape=(512, 512), brush_radius=4,
|
185 |
interactive=True, show_download_button=True, elem_id="input_image", show_label=False)
|
186 |
gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
|
|
|
180 |
with gr.Row(elem_id="board_row"):
|
181 |
with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
|
182 |
image = gr.Sketchpad(type="pil", image_mode="L",container=False, height="100%", width="100%", value = empty_input_image,
|
183 |
+
brush = gr.Brush(default_size="3", colors=["#000000"], color_mode="fixed"), layers = False,
|
184 |
# invert_colors=True, shape=(512, 512), brush_radius=4,
|
185 |
interactive=True, show_download_button=True, elem_id="input_image", show_label=False)
|
186 |
gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
|