Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,16 @@ human_list = os.listdir(os.path.join(example_path, "human"))
|
|
86 |
human_list_path = [os.path.join(example_path, "human", human) for human in human_list]
|
87 |
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
css="""
|
90 |
#col-left {
|
91 |
margin: 0 auto;
|
|
|
86 |
human_list_path = [os.path.join(example_path, "human", human) for human in human_list]
|
87 |
|
88 |
|
89 |
+
# 🔧 Paths for examples
|
90 |
+
example_path = os.path.join(os.path.dirname(__file__), "assets")
|
91 |
+
|
92 |
+
garm_list = os.listdir(os.path.join(example_path, "cloth"))
|
93 |
+
garm_list_path = [os.path.join(example_path, "cloth", garm) for garm in garm_list]
|
94 |
+
|
95 |
+
human_list = os.listdir(os.path.join(example_path, "human"))
|
96 |
+
human_list_path = [os.path.join(example_path, "human", human) for human in human_list]
|
97 |
+
|
98 |
+
|
99 |
css="""
|
100 |
#col-left {
|
101 |
margin: 0 auto;
|