Spaces:
aiqcamp
/
Running on Zero

aiqcamp commited on
Commit
c1da3e0
ยท
verified ยท
1 Parent(s): 133361b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -11
app.py CHANGED
@@ -337,7 +337,6 @@ def app_gradio():
337
 
338
  with gr.Row():
339
  with gr.Column(scale=1, min_width=350):
340
- # (์ˆ˜์ •) ์•„๋ž˜ ๋ผ์ธ์„ gr.Box() -> gr.Group()์œผ๋กœ ๋ณ€๊ฒฝ
341
  with gr.Group():
342
  gr.Markdown("### ๐Ÿ“ธ Upload Images")
343
  with gr.Row():
@@ -427,6 +426,7 @@ def app_gradio():
427
  root_path = "resource/demo/example"
428
  with gr.Column():
429
  gr.Markdown("#### ๐Ÿ‘ค Model Examples")
 
430
  men_exm = gr.Examples(
431
  examples=[
432
  os.path.join(root_path, "person", "men", file)
@@ -434,8 +434,7 @@ def app_gradio():
434
  ],
435
  examples_per_page=4,
436
  inputs=image_path,
437
- label="Men's Examples",
438
- elem_classes="example-item"
439
  )
440
  women_exm = gr.Examples(
441
  examples=[
@@ -444,8 +443,7 @@ def app_gradio():
444
  ],
445
  examples_per_page=4,
446
  inputs=image_path,
447
- label="Women's Examples",
448
- elem_classes="example-item"
449
  )
450
  gr.Markdown(
451
  '<div class="info-text">Model examples courtesy of <a href="https://huggingface.co/spaces/levihsu/OOTDiffusion">OOTDiffusion</a> and <a href="https://www.outfitanyone.org">OutfitAnyone</a></div>'
@@ -460,8 +458,7 @@ def app_gradio():
460
  ],
461
  examples_per_page=4,
462
  inputs=cloth_image,
463
- label="Upper Garments",
464
- elem_classes="example-item"
465
  )
466
  condition_overall_exm = gr.Examples(
467
  examples=[
@@ -470,8 +467,7 @@ def app_gradio():
470
  ],
471
  examples_per_page=4,
472
  inputs=cloth_image,
473
- label="Full Outfits",
474
- elem_classes="example-item"
475
  )
476
  condition_person_exm = gr.Examples(
477
  examples=[
@@ -480,8 +476,7 @@ def app_gradio():
480
  ],
481
  examples_per_page=4,
482
  inputs=cloth_image,
483
- label="Reference Styles",
484
- elem_classes="example-item"
485
  )
486
  gr.Markdown(
487
  '<div class="info-text">Clothing examples sourced from various online retailers</div>'
 
337
 
338
  with gr.Row():
339
  with gr.Column(scale=1, min_width=350):
 
340
  with gr.Group():
341
  gr.Markdown("### ๐Ÿ“ธ Upload Images")
342
  with gr.Row():
 
426
  root_path = "resource/demo/example"
427
  with gr.Column():
428
  gr.Markdown("#### ๐Ÿ‘ค Model Examples")
429
+ # elem_classes ์ธ์ž๋ฅผ ์ œ๊ฑฐํ•ด์•ผ ์˜ค๋ฅ˜๊ฐ€ ์‚ฌ๋ผ์ง‘๋‹ˆ๋‹ค.
430
  men_exm = gr.Examples(
431
  examples=[
432
  os.path.join(root_path, "person", "men", file)
 
434
  ],
435
  examples_per_page=4,
436
  inputs=image_path,
437
+ label="Men's Examples"
 
438
  )
439
  women_exm = gr.Examples(
440
  examples=[
 
443
  ],
444
  examples_per_page=4,
445
  inputs=image_path,
446
+ label="Women's Examples"
 
447
  )
448
  gr.Markdown(
449
  '<div class="info-text">Model examples courtesy of <a href="https://huggingface.co/spaces/levihsu/OOTDiffusion">OOTDiffusion</a> and <a href="https://www.outfitanyone.org">OutfitAnyone</a></div>'
 
458
  ],
459
  examples_per_page=4,
460
  inputs=cloth_image,
461
+ label="Upper Garments"
 
462
  )
463
  condition_overall_exm = gr.Examples(
464
  examples=[
 
467
  ],
468
  examples_per_page=4,
469
  inputs=cloth_image,
470
+ label="Full Outfits"
 
471
  )
472
  condition_person_exm = gr.Examples(
473
  examples=[
 
476
  ],
477
  examples_per_page=4,
478
  inputs=cloth_image,
479
+ label="Reference Styles"
 
480
  )
481
  gr.Markdown(
482
  '<div class="info-text">Clothing examples sourced from various online retailers</div>'