Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -214,7 +214,7 @@ with image_blocks as demo:
|
|
214 |
''')
|
215 |
with gr.Row():
|
216 |
with gr.Column():
|
217 |
-
image = gr.
|
218 |
with gr.Row(elem_id="prompt-container", equal_height=True):
|
219 |
with gr.Row():
|
220 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
|
|
214 |
''')
|
215 |
with gr.Row():
|
216 |
with gr.Column():
|
217 |
+
image = gr.ImageEditor(sources=["upload"], layers=False, transforms=[], brush=gr.Brush(colors=["#000000"], color_mode="fixed")) #gr.Image(sources=['upload'], tool='sketch', elem_id="image_upload", type="pil", label="Upload", height=400)
|
218 |
with gr.Row(elem_id="prompt-container", equal_height=True):
|
219 |
with gr.Row():
|
220 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|