Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -145,7 +145,7 @@ with image_blocks as demo:
|
|
145 |
''')
|
146 |
with gr.Row():
|
147 |
with gr.Column():
|
148 |
-
image = gr.Image(sources=['upload'], tool='sketch', elem_id="image_upload", type="pil", label="Upload", height=400)
|
149 |
with gr.Row(elem_id="prompt-container", equal_height=True):
|
150 |
with gr.Row():
|
151 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
|
|
145 |
''')
|
146 |
with gr.Row():
|
147 |
with gr.Column():
|
148 |
+
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)
|
149 |
with gr.Row(elem_id="prompt-container", equal_height=True):
|
150 |
with gr.Row():
|
151 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|