sarwansingh commited on
Commit
dea614a
·
verified ·
1 Parent(s): 5a80aec

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -0
app.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def detect_faces(image ) :
4
+ # detect faces
5
+ return image
6
+
7
+ iface = gr.Interface( fn=detect_faces,
8
+ inputs="image",
9
+ outputs="image",
10
+ title="Face Detection using Haar Cascade Classifier ",
11
+ description="Upload an image,and the model will detect faces and draw bounding boxes around them.",
12
+ )
13
+
14
+ iface.launch()