lixiang46
commited on
Commit
•
1e19884
1
Parent(s):
0805db6
add examples
Browse files- app.py +2 -2
- assets/.gitattributes +24 -0
- assets/cloth/04469_00.jpg +0 -0
- assets/cloth/04743_00.jpg +0 -0
- assets/cloth/09133_00.jpg +0 -0
- assets/cloth/09163_00.jpg +0 -0
- assets/cloth/09164_00.jpg +0 -0
- assets/cloth/09166_00.jpg +0 -0
- assets/cloth/09176_00.jpg +0 -0
- assets/cloth/09236_00.jpg +0 -0
- assets/cloth/09256_00.jpg +0 -0
- assets/cloth/09263_00.jpg +0 -0
- assets/cloth/09266_00.jpg +0 -0
- assets/cloth/09290_00.jpg +0 -0
- assets/cloth/09305_00.jpg +0 -0
- assets/cloth/10165_00.jpg +0 -0
- assets/cloth/14627_00.jpg +0 -0
- assets/cloth/14673_00.jpg +0 -0
- assets/cloth/dress_1.png +3 -0
- assets/cloth/one-piece_1.png +3 -0
- assets/cloth/upper_cloth_1.png +3 -0
- assets/human/00034_00.jpg +0 -0
- assets/human/00035_00.jpg +0 -0
- assets/human/00055_00.jpg +0 -0
- assets/human/00121_00.jpg +0 -0
- assets/human/01992_00.jpg +0 -0
- assets/human/0b70601293997b52b6a44870b29ec5c1.png +3 -0
- assets/human/Jensen.jpeg +0 -0
- assets/human/Jensen.jpg +3 -0
- assets/human/aigc_lady_1.png +3 -0
- assets/human/aigc_lady_2.png +3 -0
- assets/human/aigc_lady_3.png +3 -0
- assets/human/aigc_model_1.png +3 -0
- assets/human/aigc_model_2.png +3 -0
- assets/human/ea37a515d5ff0b240c58251b6042986a.png +3 -0
- assets/human/fcee4463c7348028303fa02e18a6efc8a99b2dee351f6b2aef4eca1b.jpg +3 -0
- assets/human/lekun.png +3 -0
- assets/human/musk.png +3 -0
- assets/human/sam.jpg +3 -0
- assets/human/sam1 (1).jpg +0 -0
- assets/human/taylor-.jpg +0 -0
- assets/human/will1 (1).jpg +0 -0
app.py
CHANGED
@@ -97,14 +97,14 @@ with gr.Blocks(css=css) as Tryon:
|
|
97 |
# category = gr.Dropdown(label="Garment category", choices=['upper_body', 'lower_body', 'dresses'], value="upper_body")
|
98 |
example = gr.Examples(
|
99 |
inputs=imgs,
|
100 |
-
examples_per_page=
|
101 |
examples=human_list_path
|
102 |
)
|
103 |
with gr.Column(elem_id = "col-mid"):
|
104 |
garm_img = gr.Image(label="Garment image", sources='upload', type="numpy")
|
105 |
example = gr.Examples(
|
106 |
inputs=garm_img,
|
107 |
-
examples_per_page=
|
108 |
examples=garm_list_path)
|
109 |
with gr.Column(elem_id = "col-right"):
|
110 |
image_out = gr.Image(label="Output", show_share_button=False)
|
|
|
97 |
# category = gr.Dropdown(label="Garment category", choices=['upper_body', 'lower_body', 'dresses'], value="upper_body")
|
98 |
example = gr.Examples(
|
99 |
inputs=imgs,
|
100 |
+
examples_per_page=12,
|
101 |
examples=human_list_path
|
102 |
)
|
103 |
with gr.Column(elem_id = "col-mid"):
|
104 |
garm_img = gr.Image(label="Garment image", sources='upload', type="numpy")
|
105 |
example = gr.Examples(
|
106 |
inputs=garm_img,
|
107 |
+
examples_per_page=12,
|
108 |
examples=garm_list_path)
|
109 |
with gr.Column(elem_id = "col-right"):
|
110 |
image_out = gr.Image(label="Output", show_share_button=False)
|
assets/.gitattributes
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
cloth/09163_00.jpg filter=lfs diff=lfs merge=lfs -text
|
2 |
+
cloth/09236_00.jpg filter=lfs diff=lfs merge=lfs -text
|
3 |
+
cloth/09263_00.jpg filter=lfs diff=lfs merge=lfs -text
|
4 |
+
cloth/09290_00.jpg filter=lfs diff=lfs merge=lfs -text
|
5 |
+
cloth/14627_00.jpg filter=lfs diff=lfs merge=lfs -text
|
6 |
+
cloth/14673_00.jpg filter=lfs diff=lfs merge=lfs -text
|
7 |
+
cloth/04743_00.jpg filter=lfs diff=lfs merge=lfs -text
|
8 |
+
cloth/09133_00.jpg filter=lfs diff=lfs merge=lfs -text
|
9 |
+
cloth/09166_00.jpg filter=lfs diff=lfs merge=lfs -text
|
10 |
+
cloth/dress_1.png filter=lfs diff=lfs merge=lfs -text
|
11 |
+
cloth/one-piece_1.png filter=lfs diff=lfs merge=lfs -text
|
12 |
+
cloth/upper_cloth_1.png filter=lfs diff=lfs merge=lfs -text
|
13 |
+
human/aigc_lady_1.png filter=lfs diff=lfs merge=lfs -text
|
14 |
+
human/aigc_lady_2.png filter=lfs diff=lfs merge=lfs -text
|
15 |
+
human/aigc_lady_3.png filter=lfs diff=lfs merge=lfs -text
|
16 |
+
human/aigc_model_1.png filter=lfs diff=lfs merge=lfs -text
|
17 |
+
human/aigc_model_2.png filter=lfs diff=lfs merge=lfs -text
|
18 |
+
human/fcee4463c7348028303fa02e18a6efc8a99b2dee351f6b2aef4eca1b.jpg filter=lfs diff=lfs merge=lfs -text
|
19 |
+
human/0b70601293997b52b6a44870b29ec5c1.png filter=lfs diff=lfs merge=lfs -text
|
20 |
+
human/Jensen.jpg filter=lfs diff=lfs merge=lfs -text
|
21 |
+
human/ea37a515d5ff0b240c58251b6042986a.png filter=lfs diff=lfs merge=lfs -text
|
22 |
+
human/lekun.png filter=lfs diff=lfs merge=lfs -text
|
23 |
+
human/musk.png filter=lfs diff=lfs merge=lfs -text
|
24 |
+
human/sam.jpg filter=lfs diff=lfs merge=lfs -text
|
assets/cloth/04469_00.jpg
DELETED
Binary file (149 kB)
|
|
assets/cloth/04743_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09133_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09163_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09164_00.jpg
DELETED
Binary file (488 kB)
|
|
assets/cloth/09166_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09176_00.jpg
DELETED
Binary file (266 kB)
|
|
assets/cloth/09236_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09256_00.jpg
DELETED
Binary file (305 kB)
|
|
assets/cloth/09263_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09266_00.jpg
DELETED
Binary file (177 kB)
|
|
assets/cloth/09290_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/09305_00.jpg
DELETED
Binary file (101 kB)
|
|
assets/cloth/10165_00.jpg
DELETED
Binary file (64.4 kB)
|
|
assets/cloth/14627_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/14673_00.jpg
CHANGED
Git LFS Details
|
assets/cloth/dress_1.png
ADDED
Git LFS Details
|
assets/cloth/one-piece_1.png
ADDED
Git LFS Details
|
assets/cloth/upper_cloth_1.png
ADDED
Git LFS Details
|
assets/human/00034_00.jpg
DELETED
Binary file (77.8 kB)
|
|
assets/human/00035_00.jpg
DELETED
Binary file (111 kB)
|
|
assets/human/00055_00.jpg
DELETED
Binary file (153 kB)
|
|
assets/human/00121_00.jpg
DELETED
Binary file (117 kB)
|
|
assets/human/01992_00.jpg
DELETED
Binary file (117 kB)
|
|
assets/human/0b70601293997b52b6a44870b29ec5c1.png
ADDED
Git LFS Details
|
assets/human/Jensen.jpeg
DELETED
Binary file (166 kB)
|
|
assets/human/Jensen.jpg
ADDED
Git LFS Details
|
assets/human/aigc_lady_1.png
ADDED
Git LFS Details
|
assets/human/aigc_lady_2.png
ADDED
Git LFS Details
|
assets/human/aigc_lady_3.png
ADDED
Git LFS Details
|
assets/human/aigc_model_1.png
ADDED
Git LFS Details
|
assets/human/aigc_model_2.png
ADDED
Git LFS Details
|
assets/human/ea37a515d5ff0b240c58251b6042986a.png
ADDED
Git LFS Details
|
assets/human/fcee4463c7348028303fa02e18a6efc8a99b2dee351f6b2aef4eca1b.jpg
ADDED
Git LFS Details
|
assets/human/lekun.png
ADDED
Git LFS Details
|
assets/human/musk.png
ADDED
Git LFS Details
|
assets/human/sam.jpg
ADDED
Git LFS Details
|
assets/human/sam1 (1).jpg
DELETED
Binary file (326 kB)
|
|
assets/human/taylor-.jpg
DELETED
Binary file (435 kB)
|
|
assets/human/will1 (1).jpg
DELETED
Binary file (61.6 kB)
|
|