panik commited on
Commit
2c21767
1 Parent(s): c63b53e

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import cv2
3
+
4
+ def process_image(img):
5
+ blur = cv2.blur(img,(5,5))
6
+ return blur
7
+
8
+ interface = gr.Interface(
9
+ fn = process_image,
10
+ #inputs='image',
11
+ inputs="webcam",
12
+ outputs='image',
13
+ title='Facial Expression',
14
+ description='Facial expression detection test')
15
+
16
+ interface.launch()