Spaces:
Runtime error
Runtime error
lixiang46
commited on
Commit
•
2a862f6
1
Parent(s):
451f075
add example
Browse files- .gitattributes +3 -0
- app.py +2 -1
- assets/examples/garment2.png +3 -0
- assets/examples/model2.png +3 -0
- assets/examples/result2.png +3 -0
.gitattributes
CHANGED
@@ -40,3 +40,6 @@ assets/examples filter=lfs diff=lfs merge=lfs -text
|
|
40 |
assets/examples/result1.png filter=lfs diff=lfs merge=lfs -text
|
41 |
assets/examples/garment1.png filter=lfs diff=lfs merge=lfs -text
|
42 |
assets/examples/model1.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
40 |
assets/examples/result1.png filter=lfs diff=lfs merge=lfs -text
|
41 |
assets/examples/garment1.png filter=lfs diff=lfs merge=lfs -text
|
42 |
assets/examples/model1.png filter=lfs diff=lfs merge=lfs -text
|
43 |
+
assets/examples/garment2.png filter=lfs diff=lfs merge=lfs -text
|
44 |
+
assets/examples/model2.png filter=lfs diff=lfs merge=lfs -text
|
45 |
+
assets/examples/result2.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -136,7 +136,8 @@ with gr.Blocks(css=css) as Tryon:
|
|
136 |
image3 = gr.Image(label="Result", scale=1, value="assets/examples/result1.png", show_share_button=False)
|
137 |
gr.Examples(
|
138 |
examples=[
|
139 |
-
["assets/examples/model1.png", "assets/examples/garment1.png", "assets/examples/result1.png"]
|
|
|
140 |
],
|
141 |
inputs=[image1, image2, image3],
|
142 |
label=None,
|
|
|
136 |
image3 = gr.Image(label="Result", scale=1, value="assets/examples/result1.png", show_share_button=False)
|
137 |
gr.Examples(
|
138 |
examples=[
|
139 |
+
["assets/examples/model1.png", "assets/examples/garment1.png", "assets/examples/result1.png"],
|
140 |
+
["assets/examples/model2.png", "assets/examples/garment2.png", "assets/examples/result2.png"]
|
141 |
],
|
142 |
inputs=[image1, image2, image3],
|
143 |
label=None,
|
assets/examples/garment2.png
ADDED
Git LFS Details
|
assets/examples/model2.png
ADDED
Git LFS Details
|
assets/examples/result2.png
ADDED
Git LFS Details
|