Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -393,27 +393,27 @@ def app_gradio():
|
|
393 |
interactive=True, label="Clothes Image", type="filepath"
|
394 |
)
|
395 |
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
|
418 |
|
419 |
|
|
|
393 |
interactive=True, label="Clothes Image", type="filepath"
|
394 |
)
|
395 |
|
396 |
+
# Clothes column examples
|
397 |
+
# Upper clothes examples
|
398 |
+
condition_upper_exm = gr.Examples(
|
399 |
+
examples=[
|
400 |
+
os.path.join(root_path, "condition", "upper", _)
|
401 |
+
for _ in os.listdir(os.path.join(root_path, "condition", "upper"))
|
402 |
+
],
|
403 |
+
examples_per_page=4,
|
404 |
+
inputs=cloth_image,
|
405 |
+
label="Condition Upper Examples",
|
406 |
+
)
|
407 |
+
# Full-body clothes examples
|
408 |
+
condition_overall_exm = gr.Examples(
|
409 |
+
examples=[
|
410 |
+
os.path.join(root_path, "condition", "overall", _)
|
411 |
+
for _ in os.listdir(os.path.join(root_path, "condition", "overall"))
|
412 |
+
],
|
413 |
+
examples_per_page=4,
|
414 |
+
inputs=cloth_image,
|
415 |
+
label="Condition Overall Examples",
|
416 |
+
)
|
417 |
|
418 |
|
419 |
|