Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -269,6 +269,8 @@ with image_blocks as demo:
|
|
| 269 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
| 270 |
with gr.Row():
|
| 271 |
is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
|
|
|
|
|
|
|
| 272 |
|
| 273 |
example = gr.Examples(
|
| 274 |
inputs=imgs,
|
|
@@ -276,8 +278,6 @@ with image_blocks as demo:
|
|
| 276 |
examples=human_ex_list
|
| 277 |
)
|
| 278 |
|
| 279 |
-
with gr.Column():
|
| 280 |
-
category = gr.Textbox(placeholder="0 = upper body, 1 = lower body, 2 = full body", show_label=False, elem_id="prompt")
|
| 281 |
|
| 282 |
with gr.Column():
|
| 283 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|
|
|
|
| 269 |
is_checked = gr.Checkbox(label="Yes", info="Use auto-generated mask (Takes 5 seconds)",value=True)
|
| 270 |
with gr.Row():
|
| 271 |
is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
|
| 272 |
+
with gr.Row():
|
| 273 |
+
category = gr.Textbox(placeholder="0 = upper body, 1 = lower body, 2 = full body", show_label=False, elem_id="prompt")
|
| 274 |
|
| 275 |
example = gr.Examples(
|
| 276 |
inputs=imgs,
|
|
|
|
| 278 |
examples=human_ex_list
|
| 279 |
)
|
| 280 |
|
|
|
|
|
|
|
| 281 |
|
| 282 |
with gr.Column():
|
| 283 |
garm_img = gr.Image(label="Garment", sources='upload', type="pil")
|