Spaces:
Configuration error
Configuration error
parokshsaxena
commited on
Commit
Β·
9065906
1
Parent(s):
31ccc70
fix
Browse files
app.py
CHANGED
|
@@ -270,13 +270,15 @@ human_list = os.listdir(os.path.join(example_path,"human"))
|
|
| 270 |
human_list_path = [os.path.join(example_path,"human",human) for human in human_list]
|
| 271 |
|
| 272 |
human_ex_list = []
|
|
|
|
|
|
|
| 273 |
for ex_human in human_list_path:
|
| 274 |
ex_dict= {}
|
| 275 |
ex_dict['background'] = ex_human
|
| 276 |
ex_dict['layers'] = None
|
| 277 |
ex_dict['composite'] = None
|
| 278 |
human_ex_list.append(ex_dict)
|
| 279 |
-
|
| 280 |
##default human
|
| 281 |
|
| 282 |
|
|
|
|
| 270 |
human_list_path = [os.path.join(example_path,"human",human) for human in human_list]
|
| 271 |
|
| 272 |
human_ex_list = []
|
| 273 |
+
human_ex_list = human_list_path
|
| 274 |
+
""" if using ImageEditor instead of Image while taking input, use this
|
| 275 |
for ex_human in human_list_path:
|
| 276 |
ex_dict= {}
|
| 277 |
ex_dict['background'] = ex_human
|
| 278 |
ex_dict['layers'] = None
|
| 279 |
ex_dict['composite'] = None
|
| 280 |
human_ex_list.append(ex_dict)
|
| 281 |
+
"""
|
| 282 |
##default human
|
| 283 |
|
| 284 |
|