Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -229,8 +229,7 @@ with image_blocks as demo:
|
|
229 |
gr.HTML("<center><p>Upload an image of a person and images of the clothes✨</p></center>")
|
230 |
with gr.Row():
|
231 |
with gr.Column():
|
232 |
-
inp_img = gr.ImageEditor(sources='upload',
|
233 |
-
image_mode='RGB', layers=False, interactive=True)
|
234 |
with gr.Row():
|
235 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
236 |
with gr.Row():
|
|
|
229 |
gr.HTML("<center><p>Upload an image of a person and images of the clothes✨</p></center>")
|
230 |
with gr.Row():
|
231 |
with gr.Column():
|
232 |
+
inp_img = gr.ImageEditor(sources='upload',type="pil",label='Human. Mask with pen or use auto-masking',image_mode='RGB',layers=False, interactive=True)
|
|
|
233 |
with gr.Row():
|
234 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
235 |
with gr.Row():
|