Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -9,18 +9,9 @@ face_detector = MTCNN()
|
|
| 9 |
|
| 10 |
# Description
|
| 11 |
title = r"""
|
| 12 |
-
<h1 align="center">IDM-VTON + Outfit Anyone in the Wild </h1>
|
| 13 |
"""
|
| 14 |
|
| 15 |
description = r"""
|
| 16 |
-
This demo combines <a href='https://github.com/yisol/IDM-VTON' target='_blank'><b>IDM-VTON </b></a> and <a href='https://github.com/selfitcamera/Outfit-Anyone-in-the-Wild' target='_blank'><b>Outfit Anyone in the Wild </b></a>
|
| 17 |
-
1. Human body detection and reconstruction using large human models from Outfit Anyone in the Wild.
|
| 18 |
-
2. Use IDM-VTON for single-picture clothing change without training.
|
| 19 |
-
3. Fix discordant parts of your image using the refine network from Outfit Anyone in the Wild.<br>
|
| 20 |
-
This demo is for learning purposes only.<br>
|
| 21 |
-
<b>IDM-VTON + Outfit Anyone in the Wild test results on </b> <a href='https://heybeautify.online/ClothData/Publics/Shows/shows/IDM_OutfitAnyone/IDM_OutfitAnyone.html' target='_blank'><b>mix01</b></a>.<br>
|
| 22 |
-
<b>Outfit Anyone in the Wild test results on </b> <a href='https://heybeautify.online/ClothData/Publics/Shows/shows/man_v2/man_v2.html' target='_blank'><b>man01</b></a>.<br>
|
| 23 |
-
<b>Outfit Anyone in the Wild test results on </b> <a href='https://heybeautify.online/ClothData/Publics/Shows/shows/cider/cider_0403.html' target='_blank'><b>woman01</b></a>.<br>
|
| 24 |
"""
|
| 25 |
|
| 26 |
css = """
|
|
@@ -79,7 +70,6 @@ def onClick(cloth_image, cloth_id, pose_image, pose_id, category,
|
|
| 79 |
if not isPub:
|
| 80 |
return None, "fail to public you task", ""
|
| 81 |
info = "task has been created successfully, you can refresh the page 1~3 mins latter, and check the following history tab"
|
| 82 |
-
info = info+"任务创建成功,请1-3分钟后刷新这个页面,历史结果会显示在下面的标签页"
|
| 83 |
return None, info, ""
|
| 84 |
except Exception as e:
|
| 85 |
print(e)
|
|
|
|
| 9 |
|
| 10 |
# Description
|
| 11 |
title = r"""
|
|
|
|
| 12 |
"""
|
| 13 |
|
| 14 |
description = r"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
"""
|
| 16 |
|
| 17 |
css = """
|
|
|
|
| 70 |
if not isPub:
|
| 71 |
return None, "fail to public you task", ""
|
| 72 |
info = "task has been created successfully, you can refresh the page 1~3 mins latter, and check the following history tab"
|
|
|
|
| 73 |
return None, info, ""
|
| 74 |
except Exception as e:
|
| 75 |
print(e)
|