Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -320,7 +320,7 @@ with gr.Blocks(css= "style.css") as app:
|
|
320 |
with gr.Tab ("Inpainting"):
|
321 |
with gr.Row():
|
322 |
with gr.Column():
|
323 |
-
image = gr.
|
324 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
325 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
326 |
negative_prompt = gr.Textbox(label="negative_prompt", placeholder="Your negative prompt", info="what you don't want to see in the image")
|
|
|
320 |
with gr.Tab ("Inpainting"):
|
321 |
with gr.Row():
|
322 |
with gr.Column():
|
323 |
+
image = gr.ImageMask(sources=["upload"], layers=False, transforms=[], format="png", label="base image", show_label=True)
|
324 |
btn = gr.Button("Inpaint!", elem_id="run_button")
|
325 |
prompt = gr.Textbox(placeholder="Your prompt (what you want in place of what is erased)", show_label=False, elem_id="prompt")
|
326 |
negative_prompt = gr.Textbox(label="negative_prompt", placeholder="Your negative prompt", info="what you don't want to see in the image")
|