Update app.py
Browse files
app.py
CHANGED
@@ -241,12 +241,13 @@ def start_tryon(dict,garm_img,garment_des,is_checked,is_checked_crop,denoise_ste
|
|
241 |
return images[0], mask_gray
|
242 |
# return images[0], mask_gray
|
243 |
|
244 |
-
garm_list = os.listdir(os.path.join(example_path,"cloth"))
|
245 |
-
garm_list_path = [os.path.join(example_path,"cloth",garm) for garm in garm_list]
|
246 |
-
|
247 |
-
human_list = os.listdir(os.path.join(example_path,"human"))
|
248 |
-
human_list_path = [os.path.join(example_path,"human",human) for human in human_list]
|
249 |
|
|
|
|
|
|
|
|
|
250 |
human_ex_list = []
|
251 |
for ex_human in human_list_path:
|
252 |
ex_dict= {}
|
|
|
241 |
return images[0], mask_gray
|
242 |
# return images[0], mask_gray
|
243 |
|
244 |
+
# garm_list = os.listdir(os.path.join(example_path,"cloth"))
|
245 |
+
# garm_list_path = [os.path.join(example_path,"cloth",garm) for garm in garm_list]
|
|
|
|
|
|
|
246 |
|
247 |
+
#human_list = os.listdir(os.path.join(example_path,"human"))
|
248 |
+
#human_list_path = [os.path.join(example_path,"human",human) for human in human_list]
|
249 |
+
garm_list_path, human_list_path = [], []
|
250 |
+
human_list, garm_list =[],[]
|
251 |
human_ex_list = []
|
252 |
for ex_human in human_list_path:
|
253 |
ex_dict= {}
|