Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -189,10 +189,10 @@ with gr.Blocks(css="style.css", head = head) as demo:
|
|
189 |
with gr.Column(elem_id="main_block"):
|
190 |
with gr.Row(elem_id="board_row"):
|
191 |
with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
|
192 |
-
image = gr.Sketchpad(type="pil", image_mode="L",value = empty_input_image)
|
193 |
# container=False, height="100%", width="100%", brush = gr.Brush(default_size="3", colors=["#000000"], color_mode="fixed"), layers = False,
|
194 |
# invert_colors=True, shape=(512, 512), brush_radius=4,
|
195 |
-
# interactive=True, show_download_button=True,
|
196 |
gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
|
197 |
gr.HTML("""<button id="eraser" onclick="return DELETE_SKETCH_FUNCTION(this)">
|
198 |
<span id="eraser_icon"></span>
|
|
|
189 |
with gr.Column(elem_id="main_block"):
|
190 |
with gr.Row(elem_id="board_row"):
|
191 |
with gr.Group(elem_id="input_image_container", elem_classes="image_container" ):
|
192 |
+
image = gr.Sketchpad(type="pil", image_mode="L",value = empty_input_image , elem_id="input_image")
|
193 |
# container=False, height="100%", width="100%", brush = gr.Brush(default_size="3", colors=["#000000"], color_mode="fixed"), layers = False,
|
194 |
# invert_colors=True, shape=(512, 512), brush_radius=4,
|
195 |
+
# interactive=True, show_download_button=True, show_label=False)
|
196 |
gr.HTML("""<img src="file=assets/drawCta.png" id="draw_cta" alt="draw here image" />""",elem_id="draw_cta_container")
|
197 |
gr.HTML("""<button id="eraser" onclick="return DELETE_SKETCH_FUNCTION(this)">
|
198 |
<span id="eraser_icon"></span>
|