Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -228,28 +228,28 @@ with demo:
|
|
228 |
for i in range(len(files)):
|
229 |
if files[i] == "church":
|
230 |
name = "### Unlearned Objects "+" Church"
|
231 |
-
csv_path = './
|
232 |
elif files[i] == 'garbage':
|
233 |
name = "### Unlearned Objects "+" Garbage"
|
234 |
-
csv_path = './
|
235 |
elif files[i] == 'tench':
|
236 |
name = "### Unlearned Objects "+" Tench"
|
237 |
-
csv_path = './
|
238 |
elif files[i] == 'parachute':
|
239 |
name = "### Unlearned Objects "+" Parachute"
|
240 |
-
csv_path = './
|
241 |
elif files[i] == 'vangogh':
|
242 |
name = "### Unlearned Stype "+" Van Gogh"
|
243 |
-
csv_path = './
|
244 |
elif files[i] == 'nudity':
|
245 |
name = "### Unlearned Concepts "+" Nudity"
|
246 |
-
csv_path = './
|
247 |
elif files[i] == 'violence':
|
248 |
name = "### Unlearned Concepts "+" Violence"
|
249 |
-
csv_path = './
|
250 |
elif files[i] == 'ill':
|
251 |
name = "### Unlearned Concepts "+" Illgal Activity"
|
252 |
-
csv_path = './
|
253 |
|
254 |
|
255 |
|
|
|
228 |
for i in range(len(files)):
|
229 |
if files[i] == "church":
|
230 |
name = "### Unlearned Objects "+" Church"
|
231 |
+
csv_path = './assets/'+files[i]+'.csv'
|
232 |
elif files[i] == 'garbage':
|
233 |
name = "### Unlearned Objects "+" Garbage"
|
234 |
+
csv_path = './assets/'+files[i]+'.csv'
|
235 |
elif files[i] == 'tench':
|
236 |
name = "### Unlearned Objects "+" Tench"
|
237 |
+
csv_path = './assets/'+files[i]+'.csv'
|
238 |
elif files[i] == 'parachute':
|
239 |
name = "### Unlearned Objects "+" Parachute"
|
240 |
+
csv_path = './assets/'+files[i]+'.csv'
|
241 |
elif files[i] == 'vangogh':
|
242 |
name = "### Unlearned Stype "+" Van Gogh"
|
243 |
+
csv_path = './assets/'+files[i]+'.csv'
|
244 |
elif files[i] == 'nudity':
|
245 |
name = "### Unlearned Concepts "+" Nudity"
|
246 |
+
csv_path = './assets/'+files[i]+'.csv'
|
247 |
elif files[i] == 'violence':
|
248 |
name = "### Unlearned Concepts "+" Violence"
|
249 |
+
csv_path = './assets/'+files[i]+'.csv'
|
250 |
elif files[i] == 'ill':
|
251 |
name = "### Unlearned Concepts "+" Illgal Activity"
|
252 |
+
csv_path = './assets/'+files[i]+'.csv'
|
253 |
|
254 |
|
255 |
|