Spaces:
Runtime error
Runtime error
cancel the openpose example
Browse files
app.py
CHANGED
@@ -266,15 +266,15 @@ with image_blocks as demo:
|
|
266 |
with gr.Column():
|
267 |
imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
268 |
with gr.Row():
|
269 |
-
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True,visible=
|
270 |
with gr.Row():
|
271 |
-
is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=True,visible=
|
272 |
|
273 |
-
example = gr.Examples(
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
)
|
278 |
|
279 |
with gr.Column():
|
280 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
|
|
266 |
with gr.Column():
|
267 |
imgs = gr.ImageEditor(sources='upload', type="pil", label='Human. Mask with pen or use auto-masking', interactive=True)
|
268 |
with gr.Row():
|
269 |
+
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True,visible=False)
|
270 |
with gr.Row():
|
271 |
+
is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=True,visible=False)
|
272 |
|
273 |
+
# example = gr.Examples(
|
274 |
+
# inputs=imgs,
|
275 |
+
# examples_per_page=10,
|
276 |
+
# examples=human_ex_list
|
277 |
+
# )
|
278 |
|
279 |
with gr.Column():
|
280 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|