Spaces:
Running
Running
selfitcamera
commited on
Commit
β’
7c4b148
1
Parent(s):
234514c
update
Browse files
app.py
CHANGED
@@ -42,9 +42,7 @@ def onClick(cloth_image, cloth_id, pose_image, pose_id, category,
|
|
42 |
cloth_id = cloth_id['label']
|
43 |
if isinstance(pose_id, dict):
|
44 |
pose_id = pose_id['label']
|
45 |
-
|
46 |
if len(pose_id)>0:
|
47 |
-
print(cloth_id)
|
48 |
res = get_result_example(cloth_id, pose_id)
|
49 |
assert os.path.exists(res), res
|
50 |
return res, "Done! Use the pre-run results directly, the cloth size does not take effect ", ""
|
|
|
42 |
cloth_id = cloth_id['label']
|
43 |
if isinstance(pose_id, dict):
|
44 |
pose_id = pose_id['label']
|
|
|
45 |
if len(pose_id)>0:
|
|
|
46 |
res = get_result_example(cloth_id, pose_id)
|
47 |
assert os.path.exists(res), res
|
48 |
return res, "Done! Use the pre-run results directly, the cloth size does not take effect ", ""
|