vinay9171 commited on
Commit
fbf4145
1 Parent(s): d8bed63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ myList = os.listdir(directory)
17
 
18
  st.write("Photographs found in folder : ")
19
  for cls in myList:
20
- if os.path.splitext(cls)[1] in [".jpg", ".jpeg"]:
21
  img_path = os.path.join(directory, cls)
22
  curImg = cv2.imread(img_path)
23
  Images.append(curImg)
 
17
 
18
  st.write("Photographs found in folder : ")
19
  for cls in myList:
20
+ if os.path.splitext(cls)[1] in [".jpg", ".jpeg", ".png"]:
21
  img_path = os.path.join(directory, cls)
22
  curImg = cv2.imread(img_path)
23
  Images.append(curImg)