sonobit commited on
Commit
9cdec04
·
1 Parent(s): 1c1d69a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,6 +2,7 @@ from terran.io import open_image
2
  from terran.vis import display_image, vis_faces
3
  from terran.face import face_detection
4
 
5
- image = open_image('examples/readme/many-faces-raw.jpg')
 
6
  detections = face_detection(image)
7
  display_image(vis_faces(image, detections))
 
2
  from terran.vis import display_image, vis_faces
3
  from terran.face import face_detection
4
 
5
+ image = st.file_uploader('Upload an image')
6
+ #image = open_image('examples/readme/many-faces-raw.jpg')
7
  detections = face_detection(image)
8
  display_image(vis_faces(image, detections))