Spaces:
bpheng
/
Runtime error

bpheng commited on
Commit
52a9c4c
ยท
verified ยท
1 Parent(s): 4473cf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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= {}