NikhilJoson commited on
Commit
2fc1336
ยท
verified ยท
1 Parent(s): a5fa0df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -18
app.py CHANGED
@@ -255,26 +255,27 @@ with image_blocks as demo:
255
  with gr.Row():
256
  is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
257
  example = gr.Examples(inputs=inp_img, examples_per_page=10, examples=human_ex_list)
258
-
259
  with gr.Column(scale=1):
260
- with gr.Row(elem_id="TopWear-container"):
261
- with gr.Row():
262
- topwear_image = gr.Image(label="Topwear", sources='upload', type="pil")
263
- with gr.Row():
264
- topwear_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
265
- example = gr.Examples(inputs=[topwear_image,topwear_desc], examples_per_page=4,examples=topwear_ex_list)
266
- with gr.Row(elem_id="BottomWear-container"):
267
- with gr.Row():
268
- bottomwear_image = gr.Image(label="Bottomwear", sources='upload', type="pil")
269
- with gr.Row():
270
- bottomwear_desc = gr.Textbox(placeholder="Description of garment ex) Cargo pants", show_label=False, elem_id="prompt")
 
 
 
 
 
 
 
 
271
  example = gr.Examples(inputs=[bottomwear_image,bottomwear_desc], examples_per_page=4, examples=bottomwear_ex_list)
272
- with gr.Row(elem_id="Dress-container"):
273
- with gr.Row():
274
- dress_image = gr.Image(label="Dress", sources='upload', type="pil")
275
- with gr.Row():
276
- dress_desc = gr.Textbox(placeholder="Description of garment ex) Jumper suit", show_label=False, elem_id="prompt")
277
- example = gr.Examples(inputs=[dress_image,dress_desc], examples_per_page=4, examples=dress_ex_list)
278
 
279
  with gr.Column():
280
  with gr.Accordion(label="Advanced Settings", open=False):
 
255
  with gr.Row():
256
  is_checked_crop = gr.Checkbox(label="Yes", info="Use auto-crop & resizing",value=False)
257
  example = gr.Examples(inputs=inp_img, examples_per_page=10, examples=human_ex_list)
 
258
  with gr.Column(scale=1):
259
+ with gr.Row():
260
+ dress_image = gr.Image(label="Dress", sources='upload', type="pil")
261
+ with gr.Row():
262
+ dress_desc = gr.Textbox(placeholder="Description of garment ex) Jumper suit", show_label=False, elem_id="prompt")
263
+ example = gr.Examples(inputs=[dress_image,dress_desc], examples_per_page=4, examples=dress_ex_list)
264
+
265
+
266
+ with gr.Row():
267
+ with gr.Column(scale=1):
268
+ with gr.Row():
269
+ topwear_image = gr.Image(label="Topwear", sources='upload', type="pil")
270
+ with gr.Row():
271
+ topwear_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
272
+ example = gr.Examples(inputs=[topwear_image,topwear_desc], examples_per_page=4,examples=topwear_ex_list)
273
+ with gr.Column(scale=1):
274
+ with gr.Row():
275
+ bottomwear_image = gr.Image(label="Bottomwear", sources='upload', type="pil")
276
+ with gr.Row():
277
+ bottomwear_desc = gr.Textbox(placeholder="Description of garment ex) Cargo pants", show_label=False, elem_id="prompt")
278
  example = gr.Examples(inputs=[bottomwear_image,bottomwear_desc], examples_per_page=4, examples=bottomwear_ex_list)
 
 
 
 
 
 
279
 
280
  with gr.Column():
281
  with gr.Accordion(label="Advanced Settings", open=False):