Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ with image_blocks as demo:
|
|
104 |
with gr.Column():
|
105 |
#image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
|
106 |
|
107 |
-
image =
|
108 |
with gr.Row(elem_id="prompt-container", equal_height=True):
|
109 |
with gr.Row():
|
110 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
|
|
104 |
with gr.Column():
|
105 |
#image = gr.Image(source='upload', tool='sketch', elem_id="image_upload", type="pil", label="Upload",height=400)
|
106 |
|
107 |
+
image = gr.ImageMask(elem_id="image_upload", label="Upload")
|
108 |
with gr.Row(elem_id="prompt-container", equal_height=True):
|
109 |
with gr.Row():
|
110 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|