Spaces:
Sleeping
Sleeping
francescoKrnl
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ 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") #, brush = br.Brush(default_size="2")
|
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)
|
|
|
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", elem_id="input_image",value = empty_input_image) #, brush = br.Brush(default_size="2") )
|
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)
|