Spaces:
Runtime error
Runtime error
Commit
·
547f21c
1
Parent(s):
4c16d19
rgba mode
Browse files
app.py
CHANGED
@@ -242,7 +242,8 @@ def inpaint(input_img, input_img_with_mask, prompt):
|
|
242 |
return source_mask_64_img, show_images(up_samples)
|
243 |
|
244 |
gradio_inputs = [gr.inputs.Image(type='pil',
|
245 |
-
label="Input Image"
|
|
|
246 |
gr.inputs.Image(type='pil',
|
247 |
label="Input Image With Mask"),
|
248 |
gr.inputs.Textbox(label='Conditional Text to Inpaint')]
|
|
|
242 |
return source_mask_64_img, show_images(up_samples)
|
243 |
|
244 |
gradio_inputs = [gr.inputs.Image(type='pil',
|
245 |
+
label="Input Image",
|
246 |
+
image_mode="RGBA"),
|
247 |
gr.inputs.Image(type='pil',
|
248 |
label="Input Image With Mask"),
|
249 |
gr.inputs.Textbox(label='Conditional Text to Inpaint')]
|