harishB97 commited on
Commit
8254f87
·
verified ·
1 Parent(s): 9a99cab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ nodename_to_protoIDs = defaultdict()
27
 
28
  for species, imgpath in species_to_imgpath.items():
29
  for foldername in os.listdir(imgpath):
30
- if os.isdir(os.path.join(imgpath, foldername)):
31
  folderpath = os.path.join(imgpath, foldername)
32
  for filename in os.listdir(folderpath):
33
  if filename.endswith('png') or filename.endswith('jpg'):
 
27
 
28
  for species, imgpath in species_to_imgpath.items():
29
  for foldername in os.listdir(imgpath):
30
+ if os.path.isdir(os.path.join(imgpath, foldername)):
31
  folderpath = os.path.join(imgpath, foldername)
32
  for filename in os.listdir(folderpath):
33
  if filename.endswith('png') or filename.endswith('jpg'):