nvn04 commited on
Commit
45bccd7
·
verified ·
1 Parent(s): 59fa012

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -336,9 +336,9 @@ def app_gradio():
336
  )
337
  # Mask instruction
338
  with gr.Row():
339
- with gr.Column(scale = 1, min_width=80):
340
  gr.Markdown(
341
- '<span style="color: #808080; font-size: small;">Two ways to provide Mask:<br>1. Upload the person image and use the `🖌️` above to draw the Mask (higher priority)<br>2. Select the `Try-On Cloth Type` to generate automatically </span>'
342
  )
343
  with gr.Column(scale = 1, min_width=80):
344
  cloth_type = gr.Radio(
@@ -395,7 +395,7 @@ def app_gradio():
395
  condition_upper_exm = gr.Examples(
396
  examples=[
397
  os.path.join(root_path, "condition", "lower", _)
398
- for _ in os.listdir(os.path.join(root_path, "condition", "upper"))
399
  ],
400
  examples_per_page=4,
401
  inputs=cloth_image,
 
336
  )
337
  # Mask instruction
338
  with gr.Row():
339
+ with gr.Column(scale = 2, min_width=80):
340
  gr.Markdown(
341
+ '<span style="color: #808080; font-size: small;">NOTE: The model image must fully show the body parts in the area where you want to try on the clothes <br> Two ways to provide Mask:<br>1. Upload the person image and use the `🖌️` above to draw the Mask (higher priority)<br>2. Select the `Try-On Cloth Type` to generate automatically </span>'
342
  )
343
  with gr.Column(scale = 1, min_width=80):
344
  cloth_type = gr.Radio(
 
395
  condition_upper_exm = gr.Examples(
396
  examples=[
397
  os.path.join(root_path, "condition", "lower", _)
398
+ for _ in os.listdir(os.path.join(root_path, "condition", "lower"))
399
  ],
400
  examples_per_page=4,
401
  inputs=cloth_image,