Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Commit
•
7c05f48
1
Parent(s):
6b54399
Update app.py
Browse files
app.py
CHANGED
@@ -175,7 +175,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
175 |
with gr.Column(elem_id="main_block"):
|
176 |
with gr.Row(elem_id="board_row"):
|
177 |
with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
|
178 |
-
image = gr.
|
179 |
# invert_colors=True, shape=(512, 512), brush_radius=4,
|
180 |
interactive=True, show_download_button=False, elem_id="input_image", show_label=False)
|
181 |
gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
|
|
|
175 |
with gr.Column(elem_id="main_block"):
|
176 |
with gr.Row(elem_id="board_row"):
|
177 |
with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
|
178 |
+
image = gr.Sketchpad(type="pil", image_mode="L",container=False, height="100%", width="100%",
|
179 |
# invert_colors=True, shape=(512, 512), brush_radius=4,
|
180 |
interactive=True, show_download_button=False, elem_id="input_image", show_label=False)
|
181 |
gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
|