Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,7 +223,14 @@ for ex_human in human_list_path:
|
|
| 223 |
ex_dict['composite'] = None
|
| 224 |
human_ex_list.append(ex_dict)
|
| 225 |
|
| 226 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
|
| 228 |
|
| 229 |
image_blocks = gr.Blocks(theme="Nymbo/Alyx_Theme").queue()
|
|
@@ -281,5 +288,4 @@ with image_blocks as demo:
|
|
| 281 |
|
| 282 |
|
| 283 |
|
| 284 |
-
|
| 285 |
image_blocks.launch()
|
|
|
|
| 223 |
ex_dict['composite'] = None
|
| 224 |
human_ex_list.append(ex_dict)
|
| 225 |
|
| 226 |
+
topwear_list = os.listdir(os.path.join(example_path,"topwear"))
|
| 227 |
+
topwear_list_path = [os.path.join(example_path,"topwear",topwear) for topwear in topwear_list]
|
| 228 |
+
|
| 229 |
+
bottomwear_list = os.listdir(os.path.join(example_path,"bottomwear"))
|
| 230 |
+
bottomwear_list_path = [os.path.join(example_path,"bottomwear",bottomwear) for bottomwear in bottomwear_list]
|
| 231 |
+
|
| 232 |
+
dress_list = os.listdir(os.path.join(example_path,"dresses"))
|
| 233 |
+
dress_list_path = [os.path.join(example_path,"dresses",dress) for dress in dress_list]
|
| 234 |
|
| 235 |
|
| 236 |
image_blocks = gr.Blocks(theme="Nymbo/Alyx_Theme").queue()
|
|
|
|
| 288 |
|
| 289 |
|
| 290 |
|
|
|
|
| 291 |
image_blocks.launch()
|