Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
santhakumar
/
webcam
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
santhakumar
commited on
Jun 24, 2023
Commit
fd3aeb7
·
1 Parent(s):
59d634a
Added basic webcam project
Browse files
Files changed (1)
hide
show
app.py
+10
-0
app.py
ADDED
Viewed
@@ -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()