santhakumar commited on
Commit
fd3aeb7
·
1 Parent(s): 59d634a

Added basic webcam project

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+
4
+ def video_flip(video):
5
+ return video
6
+
7
+
8
+ iface = gr.Interface(video_flip, gr.inputs.Video(source="webcam"), "playable_video")
9
+
10
+ iface.launch()