Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -162,7 +162,7 @@ with gr.Blocks(title="Multimodal Space") as demo:
|
|
162 |
|
163 |
with gr.Tab("🩹 Inpaint"):
|
164 |
base_img = gr.Image(type="filepath", label="Base image")
|
165 |
-
mask_img = gr.Image(type="filepath", label="Mask (white = keep, black = edit)"
|
166 |
inpaint_prompt = gr.Textbox(label="Prompt")
|
167 |
inpaint_out = gr.Image(label="Edited Image", interactive=False, type="filepath")
|
168 |
gr.Button("Inpaint").click(img_inpaint_fn, [user_id, base_img, mask_img, inpaint_prompt], inpaint_out)
|
|
|
162 |
|
163 |
with gr.Tab("🩹 Inpaint"):
|
164 |
base_img = gr.Image(type="filepath", label="Base image")
|
165 |
+
mask_img = gr.Image(type="filepath", label="Mask (white = keep, black = edit)")
|
166 |
inpaint_prompt = gr.Textbox(label="Prompt")
|
167 |
inpaint_out = gr.Image(label="Edited Image", interactive=False, type="filepath")
|
168 |
gr.Button("Inpaint").click(img_inpaint_fn, [user_id, base_img, mask_img, inpaint_prompt], inpaint_out)
|