LPDoctor commited on
Commit
cac4259
β€’
1 Parent(s): e4e695f

left panel: input, right panel: generate

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -276,15 +276,15 @@ with image_blocks as demo:
276
  # examples=human_ex_list
277
  # )
278
 
279
- with gr.Column():
280
- garm_img = gr.Image(label="Garment", sources='upload', type="pil")
281
- with gr.Row(elem_id="prompt-container"):
282
- with gr.Row():
283
- prompt = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
284
- example = gr.Examples(
285
- inputs=garm_img,
286
- examples_per_page=8,
287
- examples=garm_list_path)
288
  # with gr.Column():
289
  # # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
290
  # masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)
 
276
  # examples=human_ex_list
277
  # )
278
 
279
+
280
+ garm_img = gr.Image(label="Garment", sources='upload', type="pil")
281
+ with gr.Row(elem_id="prompt-container"):
282
+ with gr.Row():
283
+ prompt = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
284
+ example = gr.Examples(
285
+ inputs=garm_img,
286
+ examples_per_page=8,
287
+ examples=garm_list_path)
288
  # with gr.Column():
289
  # # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
290
  # masked_img = gr.Image(label="Masked image output", elem_id="masked-img",show_share_button=False)