NikhilJoson commited on
Commit
4237f95
ยท
verified ยท
1 Parent(s): d315251

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -241,19 +241,19 @@ with image_blocks as demo:
241
  with gr.Row(elem_id="prompt-container"):
242
  with gr.Row():
243
  topwear_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
244
- example = gr.Examples(inputs=topwear_img, examples_per_page=8,examples=garm_list_path)
245
  with gr.Column():
246
  bottomwear_image = gr.Image(label="Bottomwear", sources='upload', type="pil")
247
  with gr.Row(elem_id="prompt-container"):
248
  with gr.Row():
249
  bottomwear_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
250
- example = gr.Examples(inputs=bottomwear_img, examples_per_page=8,examples=garm_list_path)
251
  with gr.Column():
252
  dress_image = gr.Image(label="Dress", sources='upload', type="pil")
253
  with gr.Row(elem_id="prompt-container"):
254
  with gr.Row():
255
  dress_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
256
- example = gr.Examples(inputs=dress_img, examples_per_page=8,examples=garm_list_path)
257
 
258
  with gr.Column():
259
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)
 
241
  with gr.Row(elem_id="prompt-container"):
242
  with gr.Row():
243
  topwear_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
244
+ example = gr.Examples(inputs=topwear_image, examples_per_page=8,examples=garm_list_path)
245
  with gr.Column():
246
  bottomwear_image = gr.Image(label="Bottomwear", sources='upload', type="pil")
247
  with gr.Row(elem_id="prompt-container"):
248
  with gr.Row():
249
  bottomwear_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
250
+ example = gr.Examples(inputs=bottomwear_image, examples_per_page=8, examples=garm_list_path)
251
  with gr.Column():
252
  dress_image = gr.Image(label="Dress", sources='upload', type="pil")
253
  with gr.Row(elem_id="prompt-container"):
254
  with gr.Row():
255
  dress_desc = gr.Textbox(placeholder="Description of garment ex) Short Sleeve Round Neck T-shirts", show_label=False, elem_id="prompt")
256
+ example = gr.Examples(inputs=dress_image, examples_per_page=8, examples=garm_list_path)
257
 
258
  with gr.Column():
259
  # image_out = gr.Image(label="Output", elem_id="output-img", height=400)