selfitcamera
commited on
Commit
•
d691253
1
Parent(s):
3dd3b51
setup
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def onClick(cloth_id, pose_image, pose_id, size, request: gr.Request):
|
|
13 |
# print(pose_id, cloth_id, size, (pose_image is None), len(pose_id)>0)
|
14 |
if len(pose_id)>0:
|
15 |
res = get_result_example(cloth_id, pose_id)
|
16 |
-
print(res)
|
17 |
assert os.path.exists(res), res
|
18 |
# res = cv2.imread(res)
|
19 |
return res, "Done! Use the pre-run results directly, the cloth size does not take effect "
|
|
|
13 |
# print(pose_id, cloth_id, size, (pose_image is None), len(pose_id)>0)
|
14 |
if len(pose_id)>0:
|
15 |
res = get_result_example(cloth_id, pose_id)
|
16 |
+
# print(res)
|
17 |
assert os.path.exists(res), res
|
18 |
# res = cv2.imread(res)
|
19 |
return res, "Done! Use the pre-run results directly, the cloth size does not take effect "
|