Spaces:
Running
Running
selfitcamera
commited on
Commit
·
2a424a5
1
Parent(s):
8a7fa20
init
Browse files- Datas/ClothImgs/.DS_Store +0 -0
- Datas/ClothImgs/473.jpg +0 -0
- Datas/ClothImgs/482.jpg +0 -0
- app.py +4 -4
Datas/ClothImgs/.DS_Store
CHANGED
Binary files a/Datas/ClothImgs/.DS_Store and b/Datas/ClothImgs/.DS_Store differ
|
|
Datas/ClothImgs/473.jpg
DELETED
Binary file (19.7 kB)
|
|
Datas/ClothImgs/482.jpg
DELETED
Binary file (22.4 kB)
|
|
app.py
CHANGED
@@ -8,12 +8,12 @@ tip1, tip2 = get_tips()
|
|
8 |
|
9 |
# Description
|
10 |
title = r"""
|
11 |
-
<h1 align="center">Outfit
|
12 |
"""
|
13 |
|
14 |
description = r"""
|
15 |
-
<b>Test results on </b> <a href='https://
|
16 |
-
<b>Test results on </b> <a href='https://
|
17 |
"""
|
18 |
|
19 |
mk_guide = ""
|
@@ -37,7 +37,7 @@ def onClick(cloth_image, pose_image, size):
|
|
37 |
return res, "Done! Use the pre-run results directly, the cloth size does not take effect ", mk_guide
|
38 |
|
39 |
try:
|
40 |
-
client_ip = '
|
41 |
|
42 |
timeId = int( str(time.time()).replace(".", "") )+random.randint(1000, 9999)
|
43 |
isUpload = upload_pose_img(ApiUrl, OpenId, ApiKey, client_ip, timeId, pose_image)
|
|
|
8 |
|
9 |
# Description
|
10 |
title = r"""
|
11 |
+
<h1 align="center">Outfit Anyway: Best customer try-on experience ever</h1>
|
12 |
"""
|
13 |
|
14 |
description = r"""
|
15 |
+
<b>Test results on </b> <a href='https://selfit-deploy-1256039085.cos.accelerate.myqcloud.com/ClothData/Publics/Shows/shows/man_v2/man_v2.html' target='_blank'><b>man01</b></a>.<br>
|
16 |
+
<b>Test results on </b> <a href='https://selfit-deploy-1256039085.cos.accelerate.myqcloud.com/ClothData/Publics/Shows/shows/cider/cider_0403.html' target='_blank'><b>woman01</b></a>.<br>
|
17 |
"""
|
18 |
|
19 |
mk_guide = ""
|
|
|
37 |
return res, "Done! Use the pre-run results directly, the cloth size does not take effect ", mk_guide
|
38 |
|
39 |
try:
|
40 |
+
client_ip = '8.8.8.8'
|
41 |
|
42 |
timeId = int( str(time.time()).replace(".", "") )+random.randint(1000, 9999)
|
43 |
isUpload = upload_pose_img(ApiUrl, OpenId, ApiKey, client_ip, timeId, pose_image)
|